net: vmxnet3: remove unnecessary pci_set_drvdata()
authorJingoo Han <jg1.han@samsung.com>
Tue, 10 Dec 2013 03:50:09 +0000 (12:50 +0900)
committerDavid S. Miller <davem@davemloft.net>
Wed, 11 Dec 2013 03:31:32 +0000 (22:31 -0500)
commit5535ec7600ab2fc316512d6fb15e8ec077878934
tree59aa9fe326a191b7ebb8ae6b11466f63e4010da3
parent49f74ed6da4d70adc81be36f4dde22fa23f28171
net: vmxnet3: 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: Shreyas N Bhatewara <sbhatewara@vmware.com>
Acked-by: Dmitry Torokhov <dtor@vmware.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/vmxnet3/vmxnet3_drv.c