'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); Link: https://lore.kernel.org/r/ca7bac6e6c9c5cc8d04eec3944edb13de0e381a3.1633874776.git.christophe.jaillet@wanadoo.fr Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Reviewed-by: Leon Romanovsky <leonro@nvidia.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com> |
||
---|---|---|
.. | ||
iwarp.h | ||
Kconfig | ||
Makefile | ||
siw.h | ||
siw_cm.c | ||
siw_cm.h | ||
siw_cq.c | ||
siw_main.c | ||
siw_mem.c | ||
siw_mem.h | ||
siw_qp.c | ||
siw_qp_rx.c | ||
siw_qp_tx.c | ||
siw_verbs.c | ||
siw_verbs.h |