diff options
author | Xu Wang <vulab@iscas.ac.cn> | 2022-01-13 07:39:28 +0000 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2022-01-29 22:24:24 +0100 |
commit | 1ce48d67dc20d215aa55af244eb0773361e025ab (patch) | |
tree | 8e87ffe08bb0d25021a207a8f3cead3c8f9fdcd6 /drivers/video/fbdev/omap2 | |
parent | adc122011125682932ef279d717153670feedde4 (diff) | |
download | lwn-1ce48d67dc20d215aa55af244eb0773361e025ab.tar.gz lwn-1ce48d67dc20d215aa55af244eb0773361e025ab.zip |
video: fbdev: omapfb: 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: Xu Wang <vulab@iscas.ac.cn>
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'drivers/video/fbdev/omap2')
-rw-r--r-- | drivers/video/fbdev/omap2/omapfb/omapfb-main.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/video/fbdev/omap2/omapfb/omapfb-main.c b/drivers/video/fbdev/omap2/omapfb/omapfb-main.c index a3decc7fadde..afa688e754b9 100644 --- a/drivers/video/fbdev/omap2/omapfb/omapfb-main.c +++ b/drivers/video/fbdev/omap2/omapfb/omapfb-main.c @@ -1854,7 +1854,6 @@ static void omapfb_free_resources(struct omapfb2_device *fbdev) } if (fbdev->auto_update_wq != NULL) { - flush_workqueue(fbdev->auto_update_wq); destroy_workqueue(fbdev->auto_update_wq); fbdev->auto_update_wq = NULL; } |