diff options
author | Wei Yongjun <weiyj.lk@gmail.com> | 2016-08-15 22:51:48 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-08-15 16:16:11 -0700 |
commit | 45d339309f491058f5a3f974a17aa893f5a35329 (patch) | |
tree | 0c6a7ee4ca9a3fac883fdb055f62aa9370c23a13 /net/batman-adv/translation-table.h | |
parent | net: thunderx: Remove unnecessary pci_set_drvdata() (diff) | |
download | linux-dev-45d339309f491058f5a3f974a17aa893f5a35329.tar.xz linux-dev-45d339309f491058f5a3f974a17aa893f5a35329.zip |
net: mediatek: remove unnecessary platform_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 'net/batman-adv/translation-table.h')
0 files changed, 0 insertions, 0 deletions