2022-01-07 00:31:34

by Yang Li

[permalink] [raw]
Subject: [PATCH -next] MIPS: Remove duplicated include in local.h

Fix following includecheck warning:
./arch/mips/include/asm/local.h: asm/asm.h is included more than once.

Reported-by: Abaci Robot <[email protected]>
Signed-off-by: Yang Li <[email protected]>
---
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



2022-01-09 21:45:37

by Thomas Bogendoerfer

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

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 <[email protected]>
> Signed-off-by: Yang Li <[email protected]>
> ---
> 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 ]