linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] arm: remove duplicated include
@ 2023-12-15  6:27 Wang Jinchao
  2023-12-15 10:32 ` Russell King (Oracle)
  0 siblings, 1 reply; 2+ messages in thread
From: Wang Jinchao @ 2023-12-15  6:27 UTC (permalink / raw)
  To: Russell King, linux-arm-kernel, linux-kernel; +Cc: stone.xulei, wangjinchao

remove duplicated include

Signed-off-by: Wang Jinchao <wangjinchao@xfusion.com>
---
 arch/arm/include/asm/pgtable.h    | 4 ++--
 arch/arm/mach-footbridge/common.c | 1 -
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/arch/arm/include/asm/pgtable.h b/arch/arm/include/asm/pgtable.h
index 16b02f44c7d3..8c0de013f85e 100644
--- a/arch/arm/include/asm/pgtable.h
+++ b/arch/arm/include/asm/pgtable.h
@@ -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>
 
diff --git a/arch/arm/mach-footbridge/common.c b/arch/arm/mach-footbridge/common.c
index 85c598708c10..c8f52d52b91b 100644
--- a/arch/arm/mach-footbridge/common.c
+++ b/arch/arm/mach-footbridge/common.c
@@ -30,7 +30,6 @@
 
 #include <mach/hardware.h>
 #include <mach/irqs.h>
-#include <asm/hardware/dec21285.h>
 
 static int dc21285_get_irq(void)
 {
-- 
2.40.0


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] arm: remove duplicated include
  2023-12-15  6:27 [PATCH] arm: remove duplicated include Wang Jinchao
@ 2023-12-15 10:32 ` Russell King (Oracle)
  0 siblings, 0 replies; 2+ messages in thread
From: Russell King (Oracle) @ 2023-12-15 10:32 UTC (permalink / raw)
  To: Wang Jinchao; +Cc: linux-arm-kernel, linux-kernel, stone.xulei

On Fri, Dec 15, 2023 at 02:27:23PM +0800, Wang Jinchao wrote:
> remove duplicated include
> 
> Signed-off-by: Wang Jinchao <wangjinchao@xfusion.com>
> ---

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.

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

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-12-15 10:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-15  6:27 [PATCH] arm: remove duplicated include Wang Jinchao
2023-12-15 10:32 ` Russell King (Oracle)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).