diff options
author | Wei Yongjun <weiyongjun1@huawei.com> | 2016-09-15 02:25:52 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-09-16 04:25:50 -0400 |
commit | 7e5eded5c189abaea77556da41af1195af841b0a (patch) | |
tree | 2a76e9f5e59c095a977921e61f92558f7b5f46eb /Makefile | |
parent | 46c21e20128ac156c5b1503bab33ba1659283815 (diff) |
net: emac: remove unnecessary dev_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 <weiyongjun1@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions