* [PATCH] csky: abiv2: remove references to nonexistent CONFIG_OPEN_FPU_* options
@ 2026-06-09 19:43 Ethan Nelson-Moore
0 siblings, 0 replies; only message in thread
From: Ethan Nelson-Moore @ 2026-06-09 19:43 UTC (permalink / raw)
To: linux-csky; +Cc: Ethan Nelson-Moore, Guo Ren
CONFIG_OPEN_FPU_* options have never been defined by the kernel, but
are referred to by arch/csky/abiv2/inc/abi/fpu.h. The *_STAT macros
depending on them are also unused. Remove these references to eliminate
dead code.
Discovered while searching for CONFIG_* symbols referenced in code but
not defined in any Kconfig file.
Signed-off-by: Ethan Nelson-Moore <enelsonmoore@gmail.com>
---
arch/csky/abiv2/inc/abi/fpu.h | 36 -----------------------------------
1 file changed, 36 deletions(-)
diff --git a/arch/csky/abiv2/inc/abi/fpu.h b/arch/csky/abiv2/inc/abi/fpu.h
index aabb79355013..52c640ef797c 100644
--- a/arch/csky/abiv2/inc/abi/fpu.h
+++ b/arch/csky/abiv2/inc/abi/fpu.h
@@ -27,40 +27,4 @@ void restore_from_user_fp(struct user_fp *user_fp);
#define FPE_IOC (1 << 0) /* Invalid operation exception */
#define FPE_REGULAR_EXCEPTION (FPE_IXC | FPE_UFC | FPE_OFC | FPE_DZC | FPE_IOC)
-#ifdef CONFIG_OPEN_FPU_IDE
-#define IDE_STAT (1 << 5)
-#else
-#define IDE_STAT 0
-#endif
-
-#ifdef CONFIG_OPEN_FPU_IXE
-#define IXE_STAT (1 << 4)
-#else
-#define IXE_STAT 0
-#endif
-
-#ifdef CONFIG_OPEN_FPU_UFE
-#define UFE_STAT (1 << 3)
-#else
-#define UFE_STAT 0
-#endif
-
-#ifdef CONFIG_OPEN_FPU_OFE
-#define OFE_STAT (1 << 2)
-#else
-#define OFE_STAT 0
-#endif
-
-#ifdef CONFIG_OPEN_FPU_DZE
-#define DZE_STAT (1 << 1)
-#else
-#define DZE_STAT 0
-#endif
-
-#ifdef CONFIG_OPEN_FPU_IOE
-#define IOE_STAT (1 << 0)
-#else
-#define IOE_STAT 0
-#endif
-
#endif /* __ASM_CSKY_FPU_H */
--
2.43.0
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-09 19:43 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-09 19:43 [PATCH] csky: abiv2: remove references to nonexistent CONFIG_OPEN_FPU_* options Ethan Nelson-Moore
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox