diff options
| author | Chen Ni <nichen@iscas.ac.cn> | 2025-07-01 11:33:18 -0700 |
|---|---|---|
| committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2025-07-01 11:34:40 -0700 |
| commit | 6a71a6679fcbe96f894292d6cfc0d58eabf9ac8c (patch) | |
| tree | 8b067b605bde362810294da90842349956afd505 /drivers/input | |
| parent | dt-bindings: input: touchscreen: convert tsc2007.txt to yaml format (diff) | |
| download | linux-6a71a6679fcbe96f894292d6cfc0d58eabf9ac8c.tar.gz linux-6a71a6679fcbe96f894292d6cfc0d58eabf9ac8c.zip | |
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>
Diffstat (limited to 'drivers/input')
| -rw-r--r-- | drivers/input/misc/cs40l50-vibra.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/input/misc/cs40l50-vibra.c b/drivers/input/misc/cs40l50-vibra.c index dce3b0ec8cf3..0fc7ab032cf5 100644 --- a/drivers/input/misc/cs40l50-vibra.c +++ b/drivers/input/misc/cs40l50-vibra.c @@ -480,7 +480,6 @@ static int cs40l50_erase(struct input_dev *dev, int effect_id) static void cs40l50_remove_wq(void *data) { - flush_workqueue(data); destroy_workqueue(data); } |
