net: niu: remove unnecessary pci_set_drvdata()
authorJingoo Han <jg1.han@samsung.com>
Wed, 23 Oct 2013 07:07:19 +0000 (16:07 +0900)
committerDavid S. Miller <davem@davemloft.net>
Wed, 23 Oct 2013 20:58:41 +0000 (16:58 -0400)
commit0956eaff8f39882491836fc1f0e7929f49ae0344
tree5b38ee6d7ec593c06fa6cc8ea46b5e1245081c55
parent3a93ac0bb666c149e0a43a83e060f3d4b793c6de
net: niu: 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/niu.c