]> git.karo-electronics.de Git - karo-tx-linux.git/commit
net: cxgb4vf: remove unnecessary pci_set_drvdata()
authorJingoo Han <jg1.han@samsung.com>
Fri, 18 Oct 2013 00:24:54 +0000 (09:24 +0900)
committerDavid S. Miller <davem@davemloft.net>
Fri, 18 Oct 2013 04:03:30 +0000 (00:03 -0400)
commitcefa63b598554f132785bd08a588e11626fc6292
treef11b26bac909652fc4b3126855f00bf7afd5e440
parentfd4a260cdca91ad548702e2af46a7ae5a48ad1e5
net: cxgb4vf: 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/chelsio/cxgb4vf/cxgb4vf_main.c