]> git.baikalelectronics.ru Git - kernel.git/commit
ieee802154: Remove redundant 'flush_workqueue()' calls
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Thu, 14 Oct 2021 18:26:14 +0000 (20:26 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 19 Oct 2021 12:23:38 +0000 (13:23 +0100)
commitb67e8df0c70c4c4e42bf789d11dcc5c2e3df1ff6
treeb44e7a02284942dcb0dd34a2213e6c24b10b1ea8
parent9a932e55f7647d5af1396aea35c0da9a44e414b5
ieee802154: 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>
Signed-off-by: Stefan Schmidt <stefan@datenfreihafen.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ieee802154/ca8210.c