net: sky2: remove unnecessary pci_set_drvdata()
authorJingoo Han <jg1.han@samsung.com>
Mon, 21 Oct 2013 02:14:23 +0000 (11:14 +0900)
committerDavid S. Miller <davem@davemloft.net>
Mon, 21 Oct 2013 21:21:01 +0000 (17:21 -0400)
commit21d35d212469c3138f8916f7e47b779313d79751
treef9d5543332278f580bf602c2227cc5c3dcf261c9
parent68e35d8c15bfe0e8479c050aeb7fd7b3190a1d30
net: sky2: 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/marvell/sky2.c