[PATCH] config: remove duplicate dependency on SELINUX for CHCON

Julian Braha via busybox <[email protected]> Tue, 26 May 2026 02:56:38 +0100
Newsgroups gmane.linux.busybox
Message-ID <[email protected]>
CHCON depends on SELINUX twice: once inherited from its menu,
"SELinux Utilities", and again in its own config definition.
Let's remove the second one.

This dead code was found by kconfirm, a static analysis tool for Kconfig.

Signed-off-by: Julian Braha <[email protected]>
---
 selinux/chcon.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/selinux/chcon.c b/selinux/chcon.c
index e1778a36a..751f4b05c 100644
--- a/selinux/chcon.c
+++ b/selinux/chcon.c
@@ -10,7 +10,6 @@
 //config:config CHCON
 //config:	bool "chcon (8.9 kb)"
 //config:	default n
-//config:	depends on SELINUX
 //config:	help
 //config:	Enable support to change the security context of file.
 
-- 
2.54.0