diff options
author | ran jianping <ran.jianping@zte.com.cn> | 2022-04-25 03:23:40 +0200 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2022-04-25 03:25:09 +0200 |
commit | 40f6d265665abf511af310454a0b9d64f8959fd6 (patch) | |
tree | f5303fbb6f6abdf8347a03b04e67315740694d47 /drivers/input | |
parent | Input: ep93xx_keypad - use devm_platform_ioremap_resource() helper (diff) | |
download | linux-40f6d265665abf511af310454a0b9d64f8959fd6.tar.xz linux-40f6d265665abf511af310454a0b9d64f8959fd6.zip |
Input: synaptics-rmi4 - remove unnecessary flush_workqueue()
All work currently pending will be done first by calling destroy_workqueue,
so there is unnecessary to flush it explicitly.
Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: ran jianping <ran.jianping@zte.com.cn>
Link: https://lore.kernel.org/r/20220422093304.2781183-1-ran.jianping@zte.com.cn
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input')
-rw-r--r-- | drivers/input/rmi4/rmi_f54.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/input/rmi4/rmi_f54.c b/drivers/input/rmi4/rmi_f54.c index 93b328c796c6..c5ce907535ef 100644 --- a/drivers/input/rmi4/rmi_f54.c +++ b/drivers/input/rmi4/rmi_f54.c @@ -733,7 +733,6 @@ remove_v4l2: v4l2_device_unregister(&f54->v4l2); remove_wq: cancel_delayed_work_sync(&f54->work); - flush_workqueue(f54->workqueue); destroy_workqueue(f54->workqueue); return ret; } |