projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
28e26e9
)
Input: synaptics-rmi4 - remove unnecessary flush_workqueue()
author
ran jianping
<ran.jianping@zte.com.cn>
Mon, 25 Apr 2022 01:23:40 +0000
(18:23 -0700)
committer
Dmitry Torokhov
<dmitry.torokhov@gmail.com>
Mon, 25 Apr 2022 01:25:09 +0000
(18:25 -0700)
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>
drivers/input/rmi4/rmi_f54.c
patch
|
blob
|
history
diff --git
a/drivers/input/rmi4/rmi_f54.c
b/drivers/input/rmi4/rmi_f54.c
index 93b328c796c643006b3589673dd79813b3d6067d..c5ce907535ef998ba5616e5beee0c11fdf8a87de 100644
(file)
--- 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;
}