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>
This commit is contained in:
committed by
Martin K. Petersen
parent
636db60b8e
commit
14e9a890ec
@ -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
|
||||||
|
Reference in New Issue
Block a user