aboutsummaryrefslogtreecommitdiffstats
path: root/xen/drivers
diff options
context:
space:
mode:
authorTim Deegan <tim@xen.org>2013-09-12 11:45:13 +0100
committerTim Deegan <tim@xen.org>2013-09-17 16:36:08 +0100
commit554ded9d9f50c01ae05415b575a6b172c4023279 (patch)
tree1b5d09e09bb806af8352e5f1b4acec92e5ac58be /xen/drivers
parenta8992d62362e0755d3a1929b059769bc3343135d (diff)
downloadxen-554ded9d9f50c01ae05415b575a6b172c4023279.tar.gz
xen-554ded9d9f50c01ae05415b575a6b172c4023279.tar.bz2
xen-554ded9d9f50c01ae05415b575a6b172c4023279.zip
passthrough/amd: Drop unnecessary lock lookup.
The lock's not used for anything, and AFAICT no locking is needed since the IVRS tables are static after boot. Coverity CID 1087199 Signed-off-by: Tim Deegan <tim@xen.org> Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com> Reviewed-by: Jan Beulich <jbeulich@suse.com> Acked-by: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>
Diffstat (limited to 'xen/drivers')
-rw-r--r--xen/drivers/passthrough/amd/iommu_intr.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/xen/drivers/passthrough/amd/iommu_intr.c b/xen/drivers/passthrough/amd/iommu_intr.c
index 831f92a732..213f4d7bab 100644
--- a/xen/drivers/passthrough/amd/iommu_intr.c
+++ b/xen/drivers/passthrough/amd/iommu_intr.c
@@ -443,7 +443,6 @@ static int update_intremap_entry_from_msi_msg(
* devices.
*/
- lock = get_intremap_lock(iommu->seg, alias_id);
if ( ( req_id != alias_id ) &&
get_ivrs_mappings(iommu->seg)[alias_id].intremap_table != NULL )
{