block: simplify Kconfig files
authorMasahiro Yamada <masahiroy@kernel.org>
Mon, 27 Sep 2021 13:59:58 +0000 (22:59 +0900)
committerJens Axboe <axboe@kernel.dk>
Mon, 18 Oct 2021 12:17:35 +0000 (06:17 -0600)
commitc50fca55d4395ae27a57dee820f6df9b6a26c295
treef63f403db859d8458ecb260b691eac81805d2349
parentdf252bde82ac19324b26192ea5e7527fbc1b6033
block: simplify Kconfig files

Everything under block/ depends on BLOCK. BLOCK_HOLDER_DEPRECATED is
selected from drivers/md/Kconfig, which is entirely dependent on BLOCK.

Extend the 'if BLOCK' ... 'endif' so it covers the whole block/Kconfig.

Also, clean up the definition of BLOCK_COMPAT and BLK_MQ_PCI because
COMPAT and PCI are boolean.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20210927140000.866249-3-masahiroy@kernel.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/Kconfig
block/Kconfig.iosched