[SCSI] megaraid_sas: Remove un-needed completion_lock spinlock calls
authoradam radford <aradford@gmail.com>
Tue, 2 Oct 2012 02:26:50 +0000 (19:26 -0700)
committerJames Bottomley <JBottomley@Parallels.com>
Tue, 9 Oct 2012 10:04:08 +0000 (11:04 +0100)
Signed-off-by: Adam Radford <aradford@gmail.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/megaraid/megaraid_sas_fusion.c

index ddf094e7d0acf8b628745389ee87d206da80e4c4..0af045e795a7c48f9fc34aab7d683c883464a9b4 100644 (file)
@@ -1855,10 +1855,8 @@ megasas_complete_cmd_dpc_fusion(unsigned long instance_addr)
        }
        spin_unlock_irqrestore(&instance->hba_lock, flags);
 
-       spin_lock_irqsave(&instance->completion_lock, flags);
        for (MSIxIndex = 0 ; MSIxIndex < count; MSIxIndex++)
                complete_cmd_fusion(instance, MSIxIndex);
-       spin_unlock_irqrestore(&instance->completion_lock, flags);
 }
 
 /**