diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2021-10-14 21:07:50 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-10-18 23:50:37 +0300 |
commit | c573d586999cb7e694efad79f0cb69a8215bbef6 (patch) | |
tree | 84224e3ad709c20e3ad1df1640446e93c387008c /drivers/block/nbd.c | |
parent | 8b9e2291e355a0eafdd5b1e21a94a6659f24b351 (diff) | |
download | linux-c573d586999cb7e694efad79f0cb69a8215bbef6.tar.xz |
mtip32xx: Remove redundant 'flush_workqueue()' calls
'destroy_workqueue()' already drains the queue before destroying it, so
there is no need to flush it explicitly.
Remove the redundant 'flush_workqueue()' calls.
This was generated with coccinelle:
@@
expression E;
@@
- flush_workqueue(E);
destroy_workqueue(E);
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/0fea349c808c6cfbf549b0e33701320c7860c8b7.1634234221.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/block/nbd.c')
0 files changed, 0 insertions, 0 deletions