]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
Input: cs40l50 - remove redundant flush_workqueue() calls
authorChen Ni <nichen@iscas.ac.cn>
Tue, 1 Jul 2025 18:33:18 +0000 (11:33 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 1 Jul 2025 18:34:40 +0000 (11:34 -0700)
commit6a71a6679fcbe96f894292d6cfc0d58eabf9ac8c
tree8b067b605bde362810294da90842349956afd505
parent45601c66b5ddbe665937659b957e71bc8efedd46
Input: cs40l50 - 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.

Signed-off-by: Chen Ni <nichen@iscas.ac.cn>
Link: https://lore.kernel.org/r/20250312072940.1429931-1-nichen@iscas.ac.cn
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/misc/cs40l50-vibra.c