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>
Fri, 13 Dec 2019 07:51:06 +0000 (08:51 +0100)
commit6eb6e800188e7363d959bd68e55c750c59707730
tree77c7ddf1088db159f3e453b46f69acf30a3e16ca
parenta806e2a35dc10f77765ed5b0efaa460ab899779c
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