]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ASoC: cs35l56: Remove redundant 'flush_workqueue()' calls
authorChen Ni <nichen@iscas.ac.cn>
Wed, 12 Mar 2025 07:26:35 +0000 (15:26 +0800)
committerMark Brown <broonie@kernel.org>
Sun, 16 Mar 2025 23:33:44 +0000 (23:33 +0000)
commit3cab1fc85f9d381de6767fe97299eecdb8c868fa
tree3599b2ba829cd68b23ac1c60c34ba0b3ecb88211
parent3e330acf4efd63876d673c046cd073a1d4ed57a8
ASoC: cs35l56: 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: Chen Ni <nichen@iscas.ac.cn>
Link: https://patch.msgid.link/20250312072635.1429870-1-nichen@iscas.ac.cn
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/cs35l56.c