Skip to contentSkip to conversation

arm: remove duplicated include

PATCH In review Wang Jinchao 2 participants 2 messages Dec 15, 2023

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm: remove duplicated include

remove duplicated include

---
 arch/arm/include/asm/pgtable.h    | 4 ++--
 arch/arm/mach-footbridge/common.c | 1 -
 2 files changed, 2 insertions(+), 3 deletions(-)
arch/arm/include/asm/pgtable.h +2 -2
index 16b02f44c7d3..8c0de013f85e 100644
@@ -19,14 +19,14 @@ extern struct page *empty_zero_page;
 #define ZERO_PAGE(vaddr)	(empty_zero_page)
 #endif
 
+#include <asm-generic/pgtable-nopud.h>
+
 #ifndef CONFIG_MMU
 
-#include <asm-generic/pgtable-nopud.h>
 #include <asm/pgtable-nommu.h>
 
 #else
 
-#include <asm-generic/pgtable-nopud.h>
 #include <asm/page.h>
 #include <asm/pgtable-hwdef.h>
 
arch/arm/mach-footbridge/common.c +0 -1
index 85c598708c10..c8f52d52b91b 100644
@@ -30,7 +30,6 @@
 
 #include <mach/hardware.h>
 #include <mach/irqs.h>
-#include <asm/hardware/dec21285.h>
 
 static int dc21285_get_irq(void)
 {
Signature · 7 lines
2.40.0


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
#1 lore raw
Quoted 4 lines · Wang Jinchao

remove duplicated include

---

These have been ignored in the past because although they seem correct, they haven't ended up in my patch system. I guess I'm going to get asked what that is, despite the link to it being in the footer of every email I send... (please look at the footer of this email and follow the link!)

Thanks.

Signature · 2 lines
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!