From: adam radford Date: Tue, 2 Oct 2012 02:26:50 +0000 (-0700) Subject: [SCSI] megaraid_sas: Remove un-needed completion_lock spinlock calls X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=58af7b884fb17bf24fd8effeb6377a2aaaf13d62;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git [SCSI] megaraid_sas: Remove un-needed completion_lock spinlock calls Signed-off-by: Adam Radford Signed-off-by: James Bottomley --- diff --git a/drivers/scsi/megaraid/megaraid_sas_fusion.c b/drivers/scsi/megaraid/megaraid_sas_fusion.c index ddf094e7d0ac..0af045e795a7 100644 --- a/drivers/scsi/megaraid/megaraid_sas_fusion.c +++ b/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); } /**