Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

scsi: mpt3sas: Remove flush_scheduled_work() call

It seems to me that mpt3sas driver is using dedicated workqueues and is not
calling schedule{,_delayed}_work{,_on}(). Then, there will be no work to
flush using flush_scheduled_work().

Link: https://lore.kernel.org/r/f3b97c7c-1094-4e46-20d8-4321716d6f3f@I-love.SAKURA.ne.jp
Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>

authored by

Tetsuo Handa and committed by
Martin K. Petersen
90c3ca3f cc06af0b

-1
-1
drivers/scsi/mpt3sas/mpt3sas_scsih.c
··· 12409 12409 return rc; 12410 12410 12411 12411 mpt3sas_base_stop_watchdog(ioc); 12412 - flush_scheduled_work(); 12413 12412 scsi_block_requests(shost); 12414 12413 _scsih_nvme_shutdown(ioc); 12415 12414 ioc_info(ioc, "pdev=0x%p, slot=%s, entering operating state\n",