summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/csiostor
diff options
context:
space:
mode:
authorVarun Prakash <varun@chelsio.com>2018-11-29 14:48:31 +0100
committerMartin K. Petersen <martin.petersen@oracle.com>2018-12-08 03:38:25 +0100
commit14e9a890ec9751f0b2aeeed385c836c773fb991a (patch)
tree66310eda9165fda31f925add5c20a58600c22202 /drivers/scsi/csiostor
parentscsi: zfcp: make DIX experimental, disabled, and independent of DIF (diff)
downloadlinux-14e9a890ec9751f0b2aeeed385c836c773fb991a.tar.xz
linux-14e9a890ec9751f0b2aeeed385c836c773fb991a.zip
scsi: csiostor: remove flush_scheduled_work()
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>
Diffstat (limited to 'drivers/scsi/csiostor')
-rw-r--r--drivers/scsi/csiostor/csio_init.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/scsi/csiostor/csio_init.c b/drivers/scsi/csiostor/csio_init.c
index 1a458ce08210..a1bdf93e5f69 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