Re: [PATCH -next] MIPS: Remove duplicated include in local.h

From: Thomas Bogendoerfer
Date: Sun Jan 09 2022 - 16:45:37 EST


On Fri, Jan 07, 2022 at 08:31:28AM +0800, Yang Li wrote:
> Fix following includecheck warning:
> ./arch/mips/include/asm/local.h: asm/asm.h is included more than once.
>
> Reported-by: Abaci Robot <abaci@xxxxxxxxxxxxxxxxx>
> Signed-off-by: Yang Li <yang.lee@xxxxxxxxxxxxxxxxx>
> ---
> arch/mips/include/asm/local.h | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/arch/mips/include/asm/local.h b/arch/mips/include/asm/local.h
> index d4d47c846bb2..08366b1fd273 100644
> --- a/arch/mips/include/asm/local.h
> +++ b/arch/mips/include/asm/local.h
> @@ -8,7 +8,6 @@
> #include <asm/asm.h>
> #include <asm/cmpxchg.h>
> #include <asm/compiler.h>
> -#include <asm/asm.h>
>
> typedef struct
> {
> --
> 2.20.1.7.g153144c

applied to mips-next.

Thomas.

--
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea. [ RFC1925, 2.3 ]