Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

-6
-6
usr/Kconfig
··· 54 54 55 55 config RD_GZIP 56 56 bool "Support initial ramdisk/ramfs compressed using gzip" 57 - depends on BLK_DEV_INITRD 58 57 default y 59 58 select DECOMPRESS_GZIP 60 59 help ··· 63 64 config RD_BZIP2 64 65 bool "Support initial ramdisk/ramfs compressed using bzip2" 65 66 default y 66 - depends on BLK_DEV_INITRD 67 67 select DECOMPRESS_BZIP2 68 68 help 69 69 Support loading of a bzip2 encoded initial ramdisk or cpio buffer ··· 71 73 config RD_LZMA 72 74 bool "Support initial ramdisk/ramfs compressed using LZMA" 73 75 default y 74 - depends on BLK_DEV_INITRD 75 76 select DECOMPRESS_LZMA 76 77 help 77 78 Support loading of a LZMA encoded initial ramdisk or cpio buffer ··· 78 81 79 82 config RD_XZ 80 83 bool "Support initial ramdisk/ramfs compressed using XZ" 81 - depends on BLK_DEV_INITRD 82 84 default y 83 85 select DECOMPRESS_XZ 84 86 help ··· 87 91 config RD_LZO 88 92 bool "Support initial ramdisk/ramfs compressed using LZO" 89 93 default y 90 - depends on BLK_DEV_INITRD 91 94 select DECOMPRESS_LZO 92 95 help 93 96 Support loading of a LZO encoded initial ramdisk or cpio buffer ··· 95 100 config RD_LZ4 96 101 bool "Support initial ramdisk/ramfs compressed using LZ4" 97 102 default y 98 - depends on BLK_DEV_INITRD 99 103 select DECOMPRESS_LZ4 100 104 help 101 105 Support loading of a LZ4 encoded initial ramdisk or cpio buffer