[PATCH v2 01/10] Remove CONFIG_SLICE

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Since we are unconditionally compiling and linking the slice code, it does
not make sense to have a config option that depends on CONFIG_POLLER.
The CONFIG_SLICE option was also broken because it was missing the "bool"
line to denote its type.

Signed-off-by: Daniel Glöckner <dg@xxxxxxxxx>
---
 commands/Kconfig | 1 -
 common/Kconfig   | 4 ----
 2 files changed, 5 deletions(-)

diff --git a/commands/Kconfig b/commands/Kconfig
index 5ff645442..33bc4743b 100644
--- a/commands/Kconfig
+++ b/commands/Kconfig
@@ -272,7 +272,6 @@ config CMD_POLLER
 config CMD_SLICE
 	tristate
 	prompt "slice"
-	depends on SLICE
 	help
 	  slices are a way to protect resources from being accessed by pollers. The slice
 	  command can be used to print informations about slices and also to manipulate
diff --git a/common/Kconfig b/common/Kconfig
index bd2aebac7..400c0553c 100644
--- a/common/Kconfig
+++ b/common/Kconfig
@@ -913,10 +913,6 @@ config BAREBOXCRC32_TARGET
 config POLLER
 	bool "generic polling infrastructure"
 
-config SLICE
-	depends on POLLER
-	default y
-
 config STATE
 	bool "generic state infrastructure"
 	select CRC32
-- 
2.17.1


_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox




[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux