diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2021-10-10 16:21:35 +0300 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2021-11-07 07:52:06 +0300 |
commit | e8d585b2f68c0b10c966ee55146de043429085a3 (patch) | |
tree | 0b2b6e1b8cab9332fcfe4c8033af3fa9c5350630 /lib/test_overflow.c | |
parent | 341b16014bf871115f0883e831372c4b76389d03 (diff) | |
download | linux-e8d585b2f68c0b10c966ee55146de043429085a3.tar.xz |
ksmbd: 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);
Acked-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions