OSDN Git Service

rsxx: add missed destroy_workqueue calls in remove
authorChuhong Yuan <hslester96@gmail.com>
Wed, 13 Nov 2019 06:38:47 +0000 (14:38 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 21 Dec 2019 09:34:24 +0000 (10:34 +0100)
commita4b6dafb84b3723481ec573c76444f4875ecc6a2
treedfe13c837304401cbec300563055faf2470a4024
parent5e78b5ebdd265e8fc3deeb6bf7dba7347fad63f0
rsxx: add missed destroy_workqueue calls in remove

[ Upstream commit dcb77e4b274b8f13ac6482dfb09160cd2fae9a40 ]

The driver misses calling destroy_workqueue in remove like what is done
when probe fails.
Add the missed calls to fix it.

Signed-off-by: Chuhong Yuan <hslester96@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/block/rsxx/core.c