Re: [PATCH] Remove duplicate include file

From: Mike Rapoport
Date: Wed Sep 09 2020 - 05:51:14 EST


On Wed, Sep 09, 2020 at 05:36:32PM +0800, Yi Li wrote:
> Remove duplicate include file
>
> Signed-off-by: Yi Li <yili@xxxxxxxxxxx>

Reviewed-by: Mike Rapoport <rppt@xxxxxxxxxxxxx>

> ---
> arch/arm/mm/mmu.c | 1 -
> mm/slab.h | 1 -
> 2 files changed, 2 deletions(-)
>
> diff --git a/arch/arm/mm/mmu.c b/arch/arm/mm/mmu.c
> index c36f977b2ccb..7bbcdb29413e 100644
> --- a/arch/arm/mm/mmu.c
> +++ b/arch/arm/mm/mmu.c
> @@ -34,7 +34,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"
> diff --git a/mm/slab.h b/mm/slab.h
> index 6cc323f1313a..95e5cc1bb2a3 100644
> --- a/mm/slab.h
> +++ b/mm/slab.h
> @@ -46,7 +46,6 @@ struct kmem_cache {
> #include <linux/kmemleak.h>
> #include <linux/random.h>
> #include <linux/sched/mm.h>
> -#include <linux/kmemleak.h>
>
> /*
> * State of the slab allocator.
> --
> 2.25.3
>
>
>
>

--
Sincerely yours,
Mike.