2019-05-11 03:39:07

by Sabyasachi Gupta

[permalink] [raw]
Subject: [PATCH] mm: Remove duplicate headers

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

Signed-off-by: Sabyasachi Gupta <[email protected]>
---
arch/arm/mm/mmu.c | 2 --
1 file changed, 2 deletions(-)

diff --git a/arch/arm/mm/mmu.c b/arch/arm/mm/mmu.c
index fcded2c..29035f4 100644
--- a/arch/arm/mm/mmu.c
+++ b/arch/arm/mm/mmu.c
@@ -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"
--
2.7.4


2019-05-11 05:24:46

by Souptick Joarder

[permalink] [raw]
Subject: Re: [PATCH] mm: Remove duplicate headers

On Sat, May 11, 2019 at 9:04 AM Sabyasachi Gupta
<[email protected]> wrote:
>
> Remove asm/sections.h and asm/fixmap.h which are included more than once
>
> Signed-off-by: Sabyasachi Gupta <[email protected]>

Acked-by: Souptick Joarder <[email protected]>

> ---
> arch/arm/mm/mmu.c | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/arch/arm/mm/mmu.c b/arch/arm/mm/mmu.c
> index fcded2c..29035f4 100644
> --- a/arch/arm/mm/mmu.c
> +++ b/arch/arm/mm/mmu.c
> @@ -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"
> --
> 2.7.4
>