media: mtk-mdp: Remove redundant 'flush_workqueue()' calls
authorXu Wang <vulab@iscas.ac.cn>
Fri, 14 Jan 2022 08:22:14 +0000 (09:22 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Mon, 7 Mar 2022 10:05:41 +0000 (11:05 +0100)
commit479f4a6e602a46c110affeeb866d2d03422418ee
tree3e1d0d9529940f31d0bf58c70c4291c98ea53780
parent553189144c9e27bf047b392ae377c522246076f7
media: mtk-mdp: 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>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/media/platform/mtk-mdp/mtk_mdp_core.c