commit | 5288b6fff17369386e435b6780a00e3e3fd633de | [log] [tgz] |
---|---|---|
author | Wei Yongjun <weiyj.lk@gmail.com> | Mon Aug 15 22:51:29 2016 +0000 |
committer | David S. Miller <davem@davemloft.net> | Mon Aug 15 16:16:11 2016 -0700 |
tree | c3e5efb63d63169584a20139451012887592f2d7 | |
parent | 6e22066fd02b675260b980b3e42b7d616a9839c5 [diff] |
net: thunderx: 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>