staging: vchiq:remove unneeded flush_workqueue
authorran jianping <ran.jianping@zte.com.cn>
Fri, 22 Apr 2022 09:33:40 +0000 (09:33 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 22 Apr 2022 14:48:31 +0000 (16:48 +0200)
commit15210fd36ed362a04bbbfb3af6138a36ef7f90a3
tree91b01d7a3eafe724ef505441c72d6f8b3ecfcaa9
parenta2b5fd298130ad38d61c3fff1a6aa7dd0c1d02ea
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>
drivers/staging/vc04_services/vchiq-mmal/mmal-vchiq.c