x86/iommu: Drop duplicate const in __IOMMU_INIT
authorMathias Krause <minipli@googlemail.com>
Sun, 2 Sep 2012 21:31:45 +0000 (23:31 +0200)
committerIngo Molnar <mingo@kernel.org>
Wed, 5 Sep 2012 08:52:26 +0000 (10:52 +0200)
It's redundant and makes sparse complain about it.

Signed-off-by: Mathias Krause <minipli@googlemail.com>
Cc: Joerg Roedel <joerg.roedel@amd.com>
Link: http://lkml.kernel.org/r/1346621506-30857-7-git-send-email-minipli@googlemail.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/include/asm/iommu_table.h

index f229b13a5f3020175d9b940c40c5d3602747ae5b..bbf8fb2e3920c0fb11d491803569862b9637cc90 100644 (file)
@@ -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 *)))))     \