Skip to contentSkip to conversation

mm: Remove duplicate headers

PATCH In review Sabyasachi Gupta 2 participants 2 messages May 11, 2019 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mm: Remove duplicate headers

Remove asm/sections.h and asm/fixmap.h which are included more than once

---
 arch/arm/mm/mmu.c | 2 --
 1 file changed, 2 deletions(-)
arch/arm/mm/mmu.c +0 -2
index fcded2c..29035f4 100644
@@ -23,7 +23,6 @@
 #include <asm/sections.h>
 #include <asm/cachetype.h>
 #include <asm/fixmap.h>
-#include <asm/sections.h>
 #include <asm/setup.h>
 #include <asm/smp_plat.h>
 #include <asm/tlb.h>
@@ -36,7 +35,6 @@
 #include <asm/mach/arch.h>
 #include <asm/mach/map.h>
 #include <asm/mach/pci.h>
-#include <asm/fixmap.h>
 
 #include "fault.h"
 #include "mm.h"
Signature · 7 lines
2.7.4


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Acked-by on v1 1/1
#1 lore raw
Quoted 4 lines · Sabyasachi Gupta

Remove asm/sections.h and asm/fixmap.h which are included more than once

Quoted 25 lines
---
 arch/arm/mm/mmu.c | 2 --
 1 file changed, 2 deletions(-)
arch/arm/mm/mmu.c +0 -3
index fcded2c..29035f4 100644
@@ -23,7 +23,6 @@
 #include <asm/sections.h>
 #include <asm/cachetype.h>
 #include <asm/fixmap.h>
-#include <asm/sections.h>
 #include <asm/setup.h>
 #include <asm/smp_plat.h>
 #include <asm/tlb.h>
@@ -36,7 +35,6 @@
 #include <asm/mach/arch.h>
 #include <asm/mach/map.h>
 #include <asm/mach/pci.h>
-#include <asm/fixmap.h>
 
 #include "fault.h"
 #include "mm.h"
--
Quoted 2 lines

2.7.4

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel