summaryrefslogtreecommitdiff
path: root/drivers/block/Kconfig
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>2018-10-09 16:41:01 +0200
committerJens Axboe <axboe@kernel.dk>2018-10-10 14:11:08 -0600
commit486c6fba90f64d8d6e09f5a36aa722af6b52828c (patch)
tree2d5223a1cac8589f9b3271ca392debde7b867062 /drivers/block/Kconfig
parent1306ad4e60de57022a90b1904870763a39adcb42 (diff)
drivers/block: remove redundant 'default n' from Kconfig-s
'default n' is the default value for any bool or tristate Kconfig setting so there is no need to write it explicitly. Also since commit f467c5640c29 ("kconfig: only write '# CONFIG_FOO is not set' for visible symbols") the Kconfig behavior is the same regardless of 'default n' being present or not: ... One side effect of (and the main motivation for) this change is making the following two definitions behave exactly the same: config FOO bool config FOO bool default n With this change, neither of these will generate a '# CONFIG_FOO is not set' line (assuming FOO isn't selected/implied). That might make it clearer to people that a bare 'default n' is redundant. ... Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/block/Kconfig')
-rw-r--r--drivers/block/Kconfig1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/block/Kconfig b/drivers/block/Kconfig
index d4913516823f..8aec33277fda 100644
--- a/drivers/block/Kconfig
+++ b/drivers/block/Kconfig
@@ -461,7 +461,6 @@ config BLK_DEV_RBD
select LIBCRC32C
select CRYPTO_AES
select CRYPTO
- default n
help
Say Y here if you want include the Rados block device, which stripes
a block device over objects stored in the Ceph distributed object