Browse Source

[SCSI] megaraid_sas: Remove un-needed completion_lock spinlock calls

Signed-off-by: Adam Radford <aradford@gmail.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
adam radford 12 years ago
parent
commit
58af7b884f
1 changed files with 0 additions and 2 deletions
  1. 0 2
      drivers/scsi/megaraid/megaraid_sas_fusion.c

+ 0 - 2
drivers/scsi/megaraid/megaraid_sas_fusion.c

@@ -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);
 }
 
 /**