]> git.baikalelectronics.ru Git - kernel.git/commit
wan: dscc4: remove unnecessary pci_set_drvdata()
authorJingoo Han <jg1.han@samsung.com>
Mon, 9 Dec 2013 03:29:46 +0000 (12:29 +0900)
committerDavid S. Miller <davem@davemloft.net>
Mon, 9 Dec 2013 23:09:29 +0000 (18:09 -0500)
commit616a71b37298ce211b3f57748f0875d94d8965c2
tree0d81d1ed5cd194fbe8520e7641fa42b69fe67294
parentd6e9671341092b259d8cf2c24eb698916f3bf236
wan: dscc4: remove unnecessary pci_set_drvdata()

The driver core clears the driver data to NULL after device_release
or on probe failure. Thus, it is not needed to manually clear the
device driver data to NULL.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/wan/dscc4.c