From: Tetsuo Handa Date: Thu, 9 Jun 2022 13:26:48 +0000 (+0900) Subject: scsi: mpt3sas: Remove flush_scheduled_work() call X-Git-Tag: v6.0-rc1~114^2~98 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=90c3ca3f247d1a95fc47232e9f0aef114becd605;p=thirdparty%2Fkernel%2Flinux.git 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 Signed-off-by: Martin K. Petersen --- diff --git a/drivers/scsi/mpt3sas/mpt3sas_scsih.c b/drivers/scsi/mpt3sas/mpt3sas_scsih.c index a8a8c2d969c2c..f32173352d4e2 100644 --- a/drivers/scsi/mpt3sas/mpt3sas_scsih.c +++ b/drivers/scsi/mpt3sas/mpt3sas_scsih.c @@ -12409,7 +12409,6 @@ scsih_suspend(struct device *dev) return rc; mpt3sas_base_stop_watchdog(ioc); - flush_scheduled_work(); scsi_block_requests(shost); _scsih_nvme_shutdown(ioc); ioc_info(ioc, "pdev=0x%p, slot=%s, entering operating state\n",