net: marvell: prestera: add missing destroy_workqueue() in prestera_module_init()
authorYang Yingliang <yangyingliang@huawei.com>
Tue, 22 Mar 2022 09:02:36 +0000 (17:02 +0800)
committerJakub Kicinski <kuba@kernel.org>
Wed, 23 Mar 2022 17:32:39 +0000 (10:32 -0700)
commit4a6806cfcbca2cd7bae94b2d4244dab3aaa1b333
tree42bf6557d34ed4fa21c89960ac83a80919a103e4
parente9e6faeafaa00da1851bcf47912b0f1acae666b4
net: marvell: prestera: add missing destroy_workqueue() in prestera_module_init()

Add the missing destroy_workqueue() before return from
prestera_module_init() in the error handling case.

Fixes: 4394fbcb78cf ("net: marvell: prestera: handle fib notifications")
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Link: https://lore.kernel.org/r/20220322090236.1439649-1-yangyingliang@huawei.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/marvell/prestera/prestera_main.c