mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 20:51:03 +02:00
initramfs: remove redundant dependency on BLK_DEV_INITRD
init/Kconfig includes usr/Kconfig inside the "if BLK_DEV_INITRD" ... "endif" block: if BLK_DEV_INITRD source "usr/Kconfig" endif Hence, all the defines in usr/Kconfig depend on BLK_DEV_INITRD. Remove the redundant "depends on BLK_DEV_INITRD". Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Greg Thelen <gthelen@google.com>
This commit is contained in:
@@ -54,7 +54,6 @@ config INITRAMFS_ROOT_GID
|
|||||||
|
|
||||||
config RD_GZIP
|
config RD_GZIP
|
||||||
bool "Support initial ramdisk/ramfs compressed using gzip"
|
bool "Support initial ramdisk/ramfs compressed using gzip"
|
||||||
depends on BLK_DEV_INITRD
|
|
||||||
default y
|
default y
|
||||||
select DECOMPRESS_GZIP
|
select DECOMPRESS_GZIP
|
||||||
help
|
help
|
||||||
@@ -64,7 +63,6 @@ config RD_GZIP
|
|||||||
config RD_BZIP2
|
config RD_BZIP2
|
||||||
bool "Support initial ramdisk/ramfs compressed using bzip2"
|
bool "Support initial ramdisk/ramfs compressed using bzip2"
|
||||||
default y
|
default y
|
||||||
depends on BLK_DEV_INITRD
|
|
||||||
select DECOMPRESS_BZIP2
|
select DECOMPRESS_BZIP2
|
||||||
help
|
help
|
||||||
Support loading of a bzip2 encoded initial ramdisk or cpio buffer
|
Support loading of a bzip2 encoded initial ramdisk or cpio buffer
|
||||||
@@ -73,7 +71,6 @@ config RD_BZIP2
|
|||||||
config RD_LZMA
|
config RD_LZMA
|
||||||
bool "Support initial ramdisk/ramfs compressed using LZMA"
|
bool "Support initial ramdisk/ramfs compressed using LZMA"
|
||||||
default y
|
default y
|
||||||
depends on BLK_DEV_INITRD
|
|
||||||
select DECOMPRESS_LZMA
|
select DECOMPRESS_LZMA
|
||||||
help
|
help
|
||||||
Support loading of a LZMA encoded initial ramdisk or cpio buffer
|
Support loading of a LZMA encoded initial ramdisk or cpio buffer
|
||||||
@@ -81,7 +78,6 @@ config RD_LZMA
|
|||||||
|
|
||||||
config RD_XZ
|
config RD_XZ
|
||||||
bool "Support initial ramdisk/ramfs compressed using XZ"
|
bool "Support initial ramdisk/ramfs compressed using XZ"
|
||||||
depends on BLK_DEV_INITRD
|
|
||||||
default y
|
default y
|
||||||
select DECOMPRESS_XZ
|
select DECOMPRESS_XZ
|
||||||
help
|
help
|
||||||
@@ -91,7 +87,6 @@ config RD_XZ
|
|||||||
config RD_LZO
|
config RD_LZO
|
||||||
bool "Support initial ramdisk/ramfs compressed using LZO"
|
bool "Support initial ramdisk/ramfs compressed using LZO"
|
||||||
default y
|
default y
|
||||||
depends on BLK_DEV_INITRD
|
|
||||||
select DECOMPRESS_LZO
|
select DECOMPRESS_LZO
|
||||||
help
|
help
|
||||||
Support loading of a LZO encoded initial ramdisk or cpio buffer
|
Support loading of a LZO encoded initial ramdisk or cpio buffer
|
||||||
@@ -100,7 +95,6 @@ config RD_LZO
|
|||||||
config RD_LZ4
|
config RD_LZ4
|
||||||
bool "Support initial ramdisk/ramfs compressed using LZ4"
|
bool "Support initial ramdisk/ramfs compressed using LZ4"
|
||||||
default y
|
default y
|
||||||
depends on BLK_DEV_INITRD
|
|
||||||
select DECOMPRESS_LZ4
|
select DECOMPRESS_LZ4
|
||||||
help
|
help
|
||||||
Support loading of a LZ4 encoded initial ramdisk or cpio buffer
|
Support loading of a LZ4 encoded initial ramdisk or cpio buffer
|
||||||
|
Reference in New Issue
Block a user