提交 14e9a890 编写于 作者: V Varun Prakash 提交者: Martin K. Petersen

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: NVarun Prakash <varun@chelsio.com>
Signed-off-by: NMartin K. Petersen <martin.petersen@oracle.com>
上级 636db60b
...@@ -255,7 +255,6 @@ static void ...@@ -255,7 +255,6 @@ static void
csio_hw_exit_workers(struct csio_hw *hw) csio_hw_exit_workers(struct csio_hw *hw)
{ {
cancel_work_sync(&hw->evtq_work); cancel_work_sync(&hw->evtq_work);
flush_scheduled_work();
} }
static int static int
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册