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:40:49 +0000 (10:40 +0100)
commitda0b802943377662b72a9d85d22fe50619b29f27
treee25329263437131764431ecf57ffc846f173f1b0
parent4bec1e750fc20611d7ffc7e4b110c0057465ceb4
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