net: qla3xxx: remove unnecessary pci_set_drvdata()
authorJingoo Han <jg1.han@samsung.com>
Tue, 22 Oct 2013 04:16:37 +0000 (13:16 +0900)
committerDavid S. Miller <davem@davemloft.net>
Tue, 22 Oct 2013 06:11:52 +0000 (02:11 -0400)
commit901ea1a939a69e8aab99a8e685ad5a815be8a342
tree321c4af0fbcf7ddfd4446923c2a5ae2cc952c3a2
parent4e532ee45d4ad1c53b02343fc97fdfefbfe61342
net: qla3xxx: 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/qlogic/qla3xxx.c