net: natsemi: remove unnecessary pci_set_drvdata()
authorJingoo Han <jg1.han@samsung.com>
Mon, 21 Oct 2013 02:15:34 +0000 (11:15 +0900)
committerDavid S. Miller <davem@davemloft.net>
Mon, 21 Oct 2013 21:21:02 +0000 (17:21 -0400)
commite146aaa62f3675a4bf14e86772514e650e110d9b
tree4bdca0955711efe6a97132f0de167b7f9a7ee316
parentecb22e11c10478502c142a2299d7c8353527da0b
net: natsemi: 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/ethernet/natsemi/natsemi.c