net: bna: remove unnecessary pci_set_drvdata()
authorJingoo Han <jg1.han@samsung.com>
Fri, 18 Oct 2013 00:22:22 +0000 (09:22 +0900)
committerDavid S. Miller <davem@davemloft.net>
Fri, 18 Oct 2013 04:03:30 +0000 (00:03 -0400)
commitd8283e552d11e3f1c447b0c3125fa8b28acbd874
tree32b56b33a230a4d947f3f2e1707334509d828b4f
parent4fc76e6f347eed69bf7e2bcbcf9e2c0fd2964ff7
net: bna: 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/brocade/bna/bnad.c