net: dsa: mt7530: remove unnecessary dev_set_drvdata()
authorYang Yingliang <yangyingliang@huawei.com>
Wed, 21 Sep 2022 14:05:14 +0000 (22:05 +0800)
committerJakub Kicinski <kuba@kernel.org>
Fri, 23 Sep 2022 02:30:37 +0000 (19:30 -0700)
commitebe48922c0c45bcedd407d0fe546464694061af7
treea0f71b6bda87c225af8e3b57721db85257a833a4
parent3525ecc127d893f99671df041764aa4185c79e0b
net: dsa: mt7530: 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/mt7530.c