Thread (4 messages) 4 messages, 4 authors, 2021-11-20

Re: [PATCH] crypto: ccree - remove redundant 'flush_workqueue()' calls

From: Herbert Xu <herbert@gondor.apana.org.au>
Date: 2021-11-20 04:32:56
Also in: kernel-janitors, lkml

On Fri, Nov 12, 2021 at 05:49:23PM +0100, Christophe JAILLET wrote:
'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 <redacted>
---
 drivers/crypto/ccree/cc_request_mgr.c | 1 -
 1 file changed, 1 deletion(-)
Patch applied.  Thanks.
-- 
Email: Herbert Xu [off-list ref]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help