diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2021-10-10 15:21:35 +0200 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2021-11-06 23:52:06 -0500 |
commit | e8d585b2f68c0b10c966ee55146de043429085a3 (patch) | |
tree | 0b2b6e1b8cab9332fcfe4c8033af3fa9c5350630 /lib/test_fortify/write_overflow-memset.c | |
parent | 341b16014bf871115f0883e831372c4b76389d03 (diff) |
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_fortify/write_overflow-memset.c')
0 files changed, 0 insertions, 0 deletions