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

Yang Li posted 1 patch 4 years, 5 months ago
arch/mips/include/asm/local.h | 1 -
1 file changed, 1 deletion(-)
[PATCH -next] MIPS: Remove duplicated include in local.h
Posted by Yang Li 4 years, 5 months ago
Fix following includecheck warning:
./arch/mips/include/asm/local.h: asm/asm.h is included more than once.

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
---
 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

Re: [PATCH -next] MIPS: Remove duplicated include in local.h
Posted by Thomas Bogendoerfer 4 years, 5 months ago
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@linux.alibaba.com>
> Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
> ---
>  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 ]