From: Mark McLoughlin Date: Thu, 20 Nov 2008 15:49:49 +0000 (+0000) Subject: intel-iommu: kill off duplicate def of dmar_disabled X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=58fa7304a2c2bfd46e505c293ef779aa1d9715c2;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git intel-iommu: kill off duplicate def of dmar_disabled This is only used in dmar.c and intel-iommu.h, so dma_remapping.h seems like the appropriate place for it. Signed-off-by: Mark McLoughlin Signed-off-by: David Woodhouse --- diff --git a/include/linux/dmar.h b/include/linux/dmar.h index f1984fc3e06d..f28440784cf0 100644 --- a/include/linux/dmar.h +++ b/include/linux/dmar.h @@ -144,7 +144,6 @@ struct dmar_rmrr_unit { list_for_each_entry(rmrr, &dmar_rmrr_units, list) /* Intel DMAR initialization functions */ extern int intel_iommu_init(void); -extern int dmar_disabled; #else static inline int intel_iommu_init(void) {