net: ena: Remove unnecessary pci_set_drvdata()
authorWei Yongjun <weiyj.lk@gmail.com>
Mon, 15 Aug 2016 22:50:34 +0000 (22:50 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 15 Aug 2016 23:16:10 +0000 (16:16 -0700)
commit557bc7d44d52d52374bc72e9cc3b0beb41026886
tree78fcd46b1523fc2bef2c74dfe282bd1ccb5165f4
parent64721094b9a966c8e02d2b03729e5093471f9d1c
net: ena: 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: Wei Yongjun <weiyj.lk@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/amazon/ena/ena_netdev.c