Commit 15210fd3 authored by ran jianping's avatar ran jianping Committed by Greg Kroah-Hartman
Browse files

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: default avatarZeal Robot <zealci@zte.com.cn>
Signed-off-by: default avatarran jianping <ran.jianping@zte.com.cn>
Link: https://lore.kernel.org/r/20220422093340.2781311-1-ran.jianping@zte.com.cn


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent a2b5fd29
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -1841,7 +1841,6 @@ int vchiq_mmal_finalise(struct vchiq_mmal_instance *instance)
	mutex_unlock(&instance->vchiq_mutex);

	vchiq_shutdown(instance->vchiq_instance);
	flush_workqueue(instance->bulk_wq);
	destroy_workqueue(instance->bulk_wq);

	idr_destroy(&instance->context_map);