]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - drivers/scsi/NCR5380.c
[SCSI] qla4xxx: Use polling mode for disable interrupt mailbox completion
[mv-sheeva.git] / drivers / scsi / NCR5380.c
index 9a5629f94f95aba802857a6d5162db4745235c8a..e7cd2fcbe03635f5b91e12e47de3aa5e071d49e8 100644 (file)
@@ -936,8 +936,7 @@ static void NCR5380_exit(struct Scsi_Host *instance)
 {
        struct NCR5380_hostdata *hostdata = (struct NCR5380_hostdata *) instance->hostdata;
 
-       cancel_delayed_work(&hostdata->coroutine);
-       flush_scheduled_work();
+       cancel_delayed_work_sync(&hostdata->coroutine);
 }
 
 /**