drm: Remove redundant 'flush_workqueue()' calls
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Sun, 10 Oct 2021 13:59:40 +0000 (15:59 +0200)
committerRob Clark <robdclark@chromium.org>
Fri, 15 Oct 2021 23:48:51 +0000 (16:48 -0700)
commitf8e7bce3a661408377366515118485a2c07f4860
tree0091054f537ec7b62ceed3649c77e40630d5aa3a
parenteea8f024dd5320256f7bbaa573ab92eb2aa5078e
drm: 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.

This was generated with coccinelle:

@@
expression E;
@@
-  flush_workqueue(E);
destroy_workqueue(E);

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Acked-by: Jyri Sarha <jyri.sarha@iki.fi>
Reviewed-by: Rob Clark <robdclark@gmail.com>
Link: https://lore.kernel.org/r/75e8ba40076ad707d47e3a3670e6b23c1b8b11bc.1633874223.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Rob Clark <robdclark@chromium.org>
drivers/gpu/drm/etnaviv/etnaviv_gpu.c
drivers/gpu/drm/msm/dsi/dsi_host.c
drivers/gpu/drm/msm/edp/edp_ctrl.c
drivers/gpu/drm/msm/hdmi/hdmi.c
drivers/gpu/drm/tilcdc/tilcdc_drv.c
drivers/gpu/drm/vmwgfx/ttm_memory.c