rapidio: Remove redundant 'flush_workqueue()' calls
PATCH 1/1 rapidio: 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 <[email protected]>
--- drivers/rapidio/rio_cm.c | 1 - 1 file changed, 1 deletion(-)
drivers/rapidio/rio_cm.c +0 -1
@@ -2198,7 +2198,6 @@ static void riocm_remove_mport(struct device *dev,if (!found)return ; -flush_workqueue (cm->rx_wq);destroy_workqueue (cm->rx_wq);/* Release channels bound to this mport */
Signature · 1 line
2.25.1