net: smsc9420: remove unnecessary pci_set_drvdata()
authorJingoo Han <jg1.han@samsung.com>
Tue, 22 Oct 2013 04:19:53 +0000 (13:19 +0900)
committerDavid S. Miller <davem@davemloft.net>
Tue, 22 Oct 2013 06:11:53 +0000 (02:11 -0400)
commit215081f35320658e2a6d4d629d8aa5d58702773a
tree7f632d332c1d97451c29a4dcfcc967a5acfff74f
parentbe2f54badfa9ca4af3ef4161fff3ad7fff8e4d65
net: smsc9420: 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/smsc/smsc9420.c