diff options
Diffstat (limited to 'drivers/scsi/arcmsr/arcmsr_hba.c')
-rw-r--r-- | drivers/scsi/arcmsr/arcmsr_hba.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/arcmsr/arcmsr_hba.c b/drivers/scsi/arcmsr/arcmsr_hba.c index def24a1079ad..33c52bc2c7b4 100644 --- a/drivers/scsi/arcmsr/arcmsr_hba.c +++ b/drivers/scsi/arcmsr/arcmsr_hba.c | |||
@@ -999,7 +999,7 @@ static void arcmsr_remove(struct pci_dev *pdev) | |||
999 | int poll_count = 0; | 999 | int poll_count = 0; |
1000 | arcmsr_free_sysfs_attr(acb); | 1000 | arcmsr_free_sysfs_attr(acb); |
1001 | scsi_remove_host(host); | 1001 | scsi_remove_host(host); |
1002 | flush_work_sync(&acb->arcmsr_do_message_isr_bh); | 1002 | flush_work(&acb->arcmsr_do_message_isr_bh); |
1003 | del_timer_sync(&acb->eternal_timer); | 1003 | del_timer_sync(&acb->eternal_timer); |
1004 | arcmsr_disable_outbound_ints(acb); | 1004 | arcmsr_disable_outbound_ints(acb); |
1005 | arcmsr_stop_adapter_bgrb(acb); | 1005 | arcmsr_stop_adapter_bgrb(acb); |
@@ -1045,7 +1045,7 @@ static void arcmsr_shutdown(struct pci_dev *pdev) | |||
1045 | (struct AdapterControlBlock *)host->hostdata; | 1045 | (struct AdapterControlBlock *)host->hostdata; |
1046 | del_timer_sync(&acb->eternal_timer); | 1046 | del_timer_sync(&acb->eternal_timer); |
1047 | arcmsr_disable_outbound_ints(acb); | 1047 | arcmsr_disable_outbound_ints(acb); |
1048 | flush_work_sync(&acb->arcmsr_do_message_isr_bh); | 1048 | flush_work(&acb->arcmsr_do_message_isr_bh); |
1049 | arcmsr_stop_adapter_bgrb(acb); | 1049 | arcmsr_stop_adapter_bgrb(acb); |
1050 | arcmsr_flush_adapter_cache(acb); | 1050 | arcmsr_flush_adapter_cache(acb); |
1051 | } | 1051 | } |