diff options
author | adam radford <aradford@gmail.com> | 2012-10-01 22:26:50 -0400 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2012-10-09 06:04:08 -0400 |
commit | 58af7b884fb17bf24fd8effeb6377a2aaaf13d62 (patch) | |
tree | 59265ae526a8034c9ed6cd30a6caa9628bc28d39 /drivers/scsi | |
parent | 1d4329f8ec771428d8455ef7061625a841499c2e (diff) |
[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>
Diffstat (limited to 'drivers/scsi')
-rw-r--r-- | drivers/scsi/megaraid/megaraid_sas_fusion.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/scsi/megaraid/megaraid_sas_fusion.c b/drivers/scsi/megaraid/megaraid_sas_fusion.c index ddf094e7d0a..0af045e795a 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) | |||
1855 | } | 1855 | } |
1856 | spin_unlock_irqrestore(&instance->hba_lock, flags); | 1856 | spin_unlock_irqrestore(&instance->hba_lock, flags); |
1857 | 1857 | ||
1858 | spin_lock_irqsave(&instance->completion_lock, flags); | ||
1859 | for (MSIxIndex = 0 ; MSIxIndex < count; MSIxIndex++) | 1858 | for (MSIxIndex = 0 ; MSIxIndex < count; MSIxIndex++) |
1860 | complete_cmd_fusion(instance, MSIxIndex); | 1859 | complete_cmd_fusion(instance, MSIxIndex); |
1861 | spin_unlock_irqrestore(&instance->completion_lock, flags); | ||
1862 | } | 1860 | } |
1863 | 1861 | ||
1864 | /** | 1862 | /** |