scsi: csiostor: remove flush_scheduled_work()
authorVarun Prakash <varun@chelsio.com>
Thu, 29 Nov 2018 13:48:31 +0000 (19:18 +0530)
committerMartin K. Petersen <martin.petersen@oracle.com>
Sat, 8 Dec 2018 02:38:25 +0000 (21:38 -0500)
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>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/csiostor/csio_init.c

index 1a458ce08210242c858660ec71b456dd7596fab0..a1bdf93e5f69e8dc76ccd2d9b9384fdb5775a5d8 100644 (file)
@@ -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