Skip to content

Commit 26445f9

Browse files
mhiramatrostedt
authored andcommitted
bootconfig: Remove unneeded CONFIG_LIBXBC
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>
1 parent 17d25ae commit 26445f9

3 files changed

Lines changed: 1 addition & 5 deletions

File tree

‎init/Kconfig‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1218,7 +1218,6 @@ endif
12181218
config BOOT_CONFIG
12191219
bool "Boot config support"
12201220
depends on BLK_DEV_INITRD
1221-
select LIBXBC
12221221
default y
12231222
help
12241223
Extra boot config allows system admin to pass a config file as

‎lib/Kconfig‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -566,9 +566,6 @@ config DIMLIB
566566
config LIBFDT
567567
bool
568568

569-
config LIBXBC
570-
bool
571-
572569
config OID_REGISTRY
573570
tristate
574571
help

‎lib/Makefile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ $(foreach file, $(libfdt_files), \
228228
$(eval CFLAGS_$(file) = -I $(srctree)/scripts/dtc/libfdt))
229229
lib-$(CONFIG_LIBFDT) += $(libfdt_files)
230230

231-
lib-$(CONFIG_LIBXBC) += bootconfig.o
231+
lib-$(CONFIG_BOOT_CONFIG) += bootconfig.o
232232

233233
obj-$(CONFIG_RBTREE_TEST) += rbtree_test.o
234234
obj-$(CONFIG_INTERVAL_TREE_TEST) += interval_tree_test.o

0 commit comments

Comments
 (0)