Message ID | 1543499311-4242-1-git-send-email-varun@chelsio.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 14e9a890ec9751f0b2aeeed385c836c773fb991a |
Headers | show |
Series | scsi: csiostor: remove flush_scheduled_work() | expand |
Varun, > flush_scheduled_work() is not required as csio_hw_exit_workers() calls > cancel_work_sync() for hw->evtq_work. Applied to 4.21/scsi-queue, thanks!
diff --git a/drivers/scsi/csiostor/csio_init.c b/drivers/scsi/csiostor/csio_init.c index 1a458ce..a1bdf93 100644 --- a/drivers/scsi/csiostor/csio_init.c +++ b/drivers/scsi/csiostor/csio_init.c @@ -255,7 +255,6 @@ static void csio_hw_exit_workers(struct csio_hw *hw) { cancel_work_sync(&hw->evtq_work); - flush_scheduled_work(); } static int
flush_scheduled_work() is not required as csio_hw_exit_workers() calls cancel_work_sync() for hw->evtq_work. Signed-off-by: Varun Prakash <varun@chelsio.com> --- drivers/scsi/csiostor/csio_init.c | 1 - 1 file changed, 1 deletion(-)