mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-03 09:41:54 +09:00
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>
This commit is contained in:
committed by
Dmitry Torokhov
parent
28e26e927c
commit
40f6d26566
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user