]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitac2701e370fb29f6bbb6e867e855d93b6ad0330a
tree3e1d0d9529940f31d0bf58c70c4291c98ea53780
parentdbe8ab312c62350370faf70fc0f58d8071a50957
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