diff options
author | Wei Yongjun <weiyj.lk@gmail.com> | 2016-08-16 01:50:34 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-08-16 02:16:10 +0300 |
commit | 557bc7d44d52d52374bc72e9cc3b0beb41026886 (patch) | |
tree | 78fcd46b1523fc2bef2c74dfe282bd1ccb5165f4 /drivers/net/ethernet/neterion | |
parent | 64721094b9a966c8e02d2b03729e5093471f9d1c (diff) | |
download | linux-557bc7d44d52d52374bc72e9cc3b0beb41026886.tar.xz |
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>
Diffstat (limited to 'drivers/net/ethernet/neterion')
0 files changed, 0 insertions, 0 deletions