[PATCH] Remove duplicate include file

Mike Rapoport rppt at kernel.org
Wed Sep 9 05:51:00 EDT 2020


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

Reviewed-by: Mike Rapoport <rppt at linux.ibm.com>

> ---
>  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.



More information about the linux-arm-kernel mailing list