net: dsa: lantiq_gswip: remove unnecessary platform_set_drvdata()
authorYang Yingliang <yangyingliang@huawei.com>
Wed, 21 Sep 2022 14:05:12 +0000 (22:05 +0800)
committerJakub Kicinski <kuba@kernel.org>
Fri, 23 Sep 2022 02:30:36 +0000 (19:30 -0700)
commitf6ddabca45f684357cfdea7a61b94ddfb22cd583
tree1314925fd7b9e5280c617400177411c3852d9288
parent2697085007f0dd2a1c0e31375934d302ff68bca2
net: dsa: lantiq_gswip: remove unnecessary platform_set_drvdata()

Remove unnecessary platform_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/lantiq_gswip.c