mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 15:27:29 +00:00
[SCSI] remove flush_scheduled_work() usages
Simple conversions to drop flush_scheduled_work() usages in drivers/scsi. More involved ones will be done in separate patches. * NCR5380, megaraid_sas: cancel_delayed_work() + flush_scheduled_work() -> cancel_delayed_work_sync(). * mpt2sas_scsih: drop unnecessary flush_scheduled_work(). * arcmsr_hba, ipr, pmcraid: flush the used work explicitly instead of using flush_scheduled_work(). Signed-off-by: Tejun Heo <tj@kernel.org> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
This commit is contained in:
parent
75c65a5eda
commit
a684b8da35
6 changed files with 7 additions and 11 deletions
|
@ -5454,7 +5454,7 @@ static void __devexit pmcraid_remove(struct pci_dev *pdev)
|
|||
pmcraid_shutdown(pdev);
|
||||
|
||||
pmcraid_disable_interrupts(pinstance, ~0);
|
||||
flush_scheduled_work();
|
||||
flush_work_sync(&pinstance->worker_q);
|
||||
|
||||
pmcraid_kill_tasklets(pinstance);
|
||||
pmcraid_unregister_interrupt_handler(pinstance);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue