net: sunhme: remove unnecessary pci_set_drvdata()
authorJingoo Han <jg1.han@samsung.com>
Tue, 22 Oct 2013 04:20:59 +0000 (13:20 +0900)
committerDavid S. Miller <davem@davemloft.net>
Tue, 22 Oct 2013 06:11:53 +0000 (02:11 -0400)
commit5d41bf328f6b13de1218c8741cb966162a82608c
tree4e942e124f61d76df3f83879fb32278c3d9fcfd4
parent7f8cbb23f598a07f9de7ca66ab86d772f08876b3
net: sunhme: 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/sun/sunhme.c