bootconfig: Remove unneeded CONFIG_LIBXBC
authorMasami Hiramatsu <mhiramat@kernel.org>
Thu, 6 Feb 2020 11:14:53 +0000 (20:14 +0900)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Mon, 10 Feb 2020 17:07:42 +0000 (12:07 -0500)
Since there is no user except CONFIG_BOOT_CONFIG and no plan
to use it from other functions, CONFIG_LIBXBC can be removed
and we can use CONFIG_BOOT_CONFIG directly.

Link: http://lkml.kernel.org/r/158098769281.939.16293492056419481105.stgit@devnote2
Suggested-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
init/Kconfig
lib/Kconfig
lib/Makefile

index 9506299..4a672c6 100644 (file)
@@ -1218,7 +1218,6 @@ endif
 config BOOT_CONFIG
        bool "Boot config support"
        depends on BLK_DEV_INITRD
-       select LIBXBC
        default y
        help
          Extra boot config allows system admin to pass a config file as
index 10012b6..6e790dc 100644 (file)
@@ -566,9 +566,6 @@ config DIMLIB
 config LIBFDT
        bool
 
-config LIBXBC
-       bool
-
 config OID_REGISTRY
        tristate
        help
index 75a64d2..74c1223 100644 (file)
@@ -228,7 +228,7 @@ $(foreach file, $(libfdt_files), \
        $(eval CFLAGS_$(file) = -I $(srctree)/scripts/dtc/libfdt))
 lib-$(CONFIG_LIBFDT) += $(libfdt_files)
 
-lib-$(CONFIG_LIBXBC) += bootconfig.o
+lib-$(CONFIG_BOOT_CONFIG) += bootconfig.o
 
 obj-$(CONFIG_RBTREE_TEST) += rbtree_test.o
 obj-$(CONFIG_INTERVAL_TREE_TEST) += interval_tree_test.o