]> git.karo-electronics.de Git - linux-beck.git/commit
net: fddi: remove unnecessary pci_set_drvdata()
authorJingoo Han <jg1.han@samsung.com>
Tue, 10 Dec 2013 03:49:34 +0000 (12:49 +0900)
committerDavid S. Miller <davem@davemloft.net>
Wed, 11 Dec 2013 03:31:32 +0000 (22:31 -0500)
commit49f74ed6da4d70adc81be36f4dde22fa23f28171
treec9717fb89593d56a78cd176b9e512fef12e08295
parent79ac7c941124866a72f000bb1fbb65dc1d1cf8cb
net: fddi: 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/fddi/skfp/skfddi.c