net: dsa: qca8k: remove unnecessary dev_set_drvdata()
authorYang Yingliang <yangyingliang@huawei.com>
Wed, 21 Sep 2022 14:05:19 +0000 (22:05 +0800)
committerJakub Kicinski <kuba@kernel.org>
Fri, 23 Sep 2022 02:30:38 +0000 (19:30 -0700)
commit68c4e297e09c3b3e2012ea54e5329d03d653c977
tree780ed2e7abe8fe9e01b0344631dcfcb76988c2b6
parent14b29ece30e53f9b380f146d5f4f9062131b0d65
net: dsa: qca8k: 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/qca/qca8k-8xxx.c