Message ID | 20220424061845.3218774-1-ran.jianping@zte.com.cn |
---|---|
State | New |
Headers | show |
Series | scsi: bfa: remove unneeded flush_workqueue | expand |
On Sun, 24 Apr 2022 06:18:45 +0000, cgel.zte@gmail.com wrote: > From: ran jianping <ran.jianping@zte.com.cn> > > All work currently pending will be done first by calling destroy_workqueue, > so there is no need to flush it explicitly. > > Applied to 5.19/scsi-queue, thanks! [1/1] scsi: bfa: remove unneeded flush_workqueue https://git.kernel.org/mkp/scsi/c/4c0df601e150
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; }