public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH -next] alpha: Remove duplicated include in fpreg.c
@ 2024-05-07  0:34 Yang Li
  0 siblings, 0 replies; only message in thread
From: Yang Li @ 2024-05-07  0:34 UTC (permalink / raw)
  To: richard.henderson, mattst88
  Cc: linux-alpha, linux-kernel, Yang Li, Abaci Robot

The header files asm/fpu.h is included twice in fpreg.c,
so one inclusion of each can be removed.

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=8945
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
---
 arch/alpha/lib/fpreg.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/alpha/lib/fpreg.c b/arch/alpha/lib/fpreg.c
index 9a238e7536ae..3d32165043f8 100644
--- a/arch/alpha/lib/fpreg.c
+++ b/arch/alpha/lib/fpreg.c
@@ -10,7 +10,6 @@
 #include <linux/preempt.h>
 #include <asm/fpu.h>
 #include <asm/thread_info.h>
-#include <asm/fpu.h>
 
 #if defined(CONFIG_ALPHA_EV6) || defined(CONFIG_ALPHA_EV67)
 #define STT(reg,val)  asm volatile ("ftoit $f"#reg",%0" : "=r"(val));
-- 
2.20.1.7.g153144c


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2024-05-07  0:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-07  0:34 [PATCH -next] alpha: Remove duplicated include in fpreg.c Yang Li

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox