net: dsa: mv88e6060: remove unnecessary dev_set_drvdata()
authorYang Yingliang <yangyingliang@huawei.com>
Wed, 21 Sep 2022 14:05:15 +0000 (22:05 +0800)
committerJakub Kicinski <kuba@kernel.org>
Fri, 23 Sep 2022 02:30:37 +0000 (19:30 -0700)
commit92f529b7a3b7ec71960328a58f1a06aad75205e3
treea6cbf048fe277d842d82b9c80e55908108868257
parentebe48922c0c45bcedd407d0fe546464694061af7
net: dsa: mv88e6060: remove unnecessary dev_set_drvdata()

Remove unnecessary dev_set_drvdata() in ->remove(), the driver_data will
be set to NULL in device_unbind_cleanup() after calling ->remove().

Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/dsa/mv88e6060.c