[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220424061845.3218774-1-ran.jianping@zte.com.cn>
Date: Sun, 24 Apr 2022 06:18:45 +0000
From: cgel.zte@...il.com
To: anil.gurumurthy@...gic.com
Cc: sudarsana.kalluru@...gic.com, jejb@...ux.ibm.com,
martin.petersen@...cle.com, linux-scsi@...r.kernel.org,
linux-kernel@...r.kernel.org,
ran jianping <ran.jianping@....com.cn>,
Zeal Robot <zealci@....com.cn>
Subject: [PATCH] scsi: bfa: remove unneeded flush_workqueue
From: ran jianping <ran.jianping@....com.cn>
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@....com.cn>
Signed-off-by: ran jianping <ran.jianping@....com.cn>
---
drivers/scsi/bfa/bfad_im.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/scsi/bfa/bfad_im.c b/drivers/scsi/bfa/bfad_im.c
index 8419a1a89485..c335f7a188d2 100644
--- a/drivers/scsi/bfa/bfad_im.c
+++ b/drivers/scsi/bfa/bfad_im.c
@@ -755,7 +755,6 @@ void
bfad_destroy_workq(struct bfad_im_s *im)
{
if (im && im->drv_workq) {
- flush_workqueue(im->drv_workq);
destroy_workqueue(im->drv_workq);
im->drv_workq = NULL;
}
--
2.25.1
Powered by blists - more mailing lists