net: starfire: remove unnecessary pci_set_drvdata()
authorJingoo Han <jg1.han@samsung.com>
Fri, 18 Oct 2013 00:18:53 +0000 (09:18 +0900)
committerDavid S. Miller <davem@davemloft.net>
Fri, 18 Oct 2013 04:03:28 +0000 (00:03 -0400)
commit705d1c35f45e74011de131b1efe6ae723a499824
tree6279edb1fd7a84a8c936228b8de340281621d191
parent2cb63c7901fb33557ac612a3ba399a903c0d7357
net: starfire: 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/adaptec/starfire.c