From: Mathias Krause Date: Sun, 2 Sep 2012 21:31:45 +0000 (+0200) Subject: x86/iommu: Drop duplicate const in __IOMMU_INIT X-Git-Tag: v3.7-rc1~186^2~2 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=2b11afd1ab502d959ae8d6d5812923151b5bc505;p=~emulex%2Finfiniband.git x86/iommu: Drop duplicate const in __IOMMU_INIT It's redundant and makes sparse complain about it. Signed-off-by: Mathias Krause Cc: Joerg Roedel Link: http://lkml.kernel.org/r/1346621506-30857-7-git-send-email-minipli@googlemail.com Signed-off-by: Ingo Molnar --- diff --git a/arch/x86/include/asm/iommu_table.h b/arch/x86/include/asm/iommu_table.h index f229b13a5f3..bbf8fb2e392 100644 --- a/arch/x86/include/asm/iommu_table.h +++ b/arch/x86/include/asm/iommu_table.h @@ -48,7 +48,7 @@ struct iommu_table_entry { #define __IOMMU_INIT(_detect, _depend, _early_init, _late_init, _finish)\ - static const struct iommu_table_entry const \ + static const struct iommu_table_entry \ __iommu_entry_##_detect __used \ __attribute__ ((unused, __section__(".iommu_table"), \ aligned((sizeof(void *))))) \