# HG changeset patch # User Jan Beulich # Date 1317730316 -7200 # Node ID a99d75671a911f9c0d5d11e0fe88a0a65863cb44 # Parent 3d1664cc9e458809e399320204aca8536e401ee1 AMD-IOMMU: remove dead variable references These got orphaned up by recent changes. Signed-off-by: Jan Beulich Acked-by: Keir Fraser diff -r 599cf097900b xen/drivers/passthrough/amd/pci_amd_iommu.c --- a/xen/drivers/passthrough/amd/pci_amd_iommu.c Mon Sep 05 15:00:15 2011 +0100 +++ b/xen/drivers/passthrough/amd/pci_amd_iommu.c Fri Oct 21 15:39:30 2011 -0400 @@ -24,9 +24,6 @@ #include #include #include - -extern bool_t __read_mostly opt_irq_perdev_vector_map; -extern bool_t __read_mostly iommu_amd_perdev_vector_map; extern unsigned short ivrs_bdf_entries; extern struct ivrs_mappings *ivrs_mappings; diff -r 599cf097900b xen/drivers/passthrough/iommu.c --- a/xen/drivers/passthrough/iommu.c Mon Sep 05 15:00:15 2011 +0100 +++ b/xen/drivers/passthrough/iommu.c Fri Oct 21 15:39:30 2011 -0400 @@ -49,7 +49,6 @@ bool_t __read_mostly iommu_intremap = 1; bool_t __read_mostly iommu_hap_pt_share; bool_t __read_mostly amd_iommu_debug; -bool_t __read_mostly iommu_amd_perdev_vector_map = 1; bool_t __read_mostly amd_iommu_perdev_intremap; static void __init parse_iommu_param(char *s) @@ -85,8 +84,6 @@ iommu_dom0_strict = 1; else if ( !strcmp(s, "sharept") ) iommu_hap_pt_share = 1; - else if ( !strcmp(s, "no-perdev-vector-map") ) - iommu_amd_perdev_vector_map = 0; s = ss + 1; } while ( ss );