Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

staging: vchiq:remove unneeded flush_workqueue

All work currently pending will be done first by calling destroy_workqueue,
so there is no need to flush it explicitly.

Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: ran jianping <ran.jianping@zte.com.cn>
Link: https://lore.kernel.org/r/20220422093340.2781311-1-ran.jianping@zte.com.cn
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

ran jianping and committed by
Greg Kroah-Hartman
15210fd3 a2b5fd29

-1
-1
drivers/staging/vc04_services/vchiq-mmal/mmal-vchiq.c
··· 1841 1841 mutex_unlock(&instance->vchiq_mutex); 1842 1842 1843 1843 vchiq_shutdown(instance->vchiq_instance); 1844 - flush_workqueue(instance->bulk_wq); 1845 1844 destroy_workqueue(instance->bulk_wq); 1846 1845 1847 1846 idr_destroy(&instance->context_map);