From: Ethan Nelson-Moore <enelsonmoore@gmail.com>
To: linux-csky@vger.kernel.org
Cc: Ethan Nelson-Moore <enelsonmoore@gmail.com>, Guo Ren <guoren@kernel.org>
Subject: [PATCH] csky: abiv2: remove references to nonexistent CONFIG_OPEN_FPU_* options
Date: Tue, 9 Jun 2026 12:43:28 -0700 [thread overview]
Message-ID: <20260609194331.147233-1-enelsonmoore@gmail.com> (raw)
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
reply other threads:[~2026-06-09 19:43 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260609194331.147233-1-enelsonmoore@gmail.com \
--to=enelsonmoore@gmail.com \
--cc=guoren@kernel.org \
--cc=linux-csky@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.