OpenCloudOS-Kernel/drivers/media/platform/mtk-vpu
Christophe JAILLET 360c887a39 media: mtk-vpu: 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>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2021-11-15 08:12:07 +00:00
..
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
mtk_vpu.c media: mtk-vpu: Remove redundant 'flush_workqueue()' calls 2021-11-15 08:12:07 +00:00
mtk_vpu.h media: mtk-vpu/mtk_vpu.h: fix kernel-doc warnings 2021-03-22 12:59:50 +01:00