1
0
Fork 0

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 f467c5640c ("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>
hifive-unleashed-5.1
Bartlomiej Zolnierkiewicz 2018-10-09 16:32:54 +02:00 committed by Jens Axboe
parent 766c8ceb16
commit 1306ad4e60
2 changed files with 0 additions and 10 deletions

View File

@ -74,7 +74,6 @@ config BLK_DEV_BSG
config BLK_DEV_BSGLIB config BLK_DEV_BSGLIB
bool "Block layer SG support v4 helper lib" bool "Block layer SG support v4 helper lib"
default n
select BLK_DEV_BSG select BLK_DEV_BSG
select BLK_SCSI_REQUEST select BLK_SCSI_REQUEST
help help
@ -107,7 +106,6 @@ config BLK_DEV_ZONED
config BLK_DEV_THROTTLING config BLK_DEV_THROTTLING
bool "Block layer bio throttling support" bool "Block layer bio throttling support"
depends on BLK_CGROUP=y depends on BLK_CGROUP=y
default n
---help--- ---help---
Block layer bio throttling support. It can be used to limit Block layer bio throttling support. It can be used to limit
the IO rate to a device. IO rate policies are per cgroup and the IO rate to a device. IO rate policies are per cgroup and
@ -119,7 +117,6 @@ config BLK_DEV_THROTTLING
config BLK_DEV_THROTTLING_LOW config BLK_DEV_THROTTLING_LOW
bool "Block throttling .low limit interface support (EXPERIMENTAL)" bool "Block throttling .low limit interface support (EXPERIMENTAL)"
depends on BLK_DEV_THROTTLING depends on BLK_DEV_THROTTLING
default n
---help--- ---help---
Add .low limit interface for block throttling. The low limit is a best Add .low limit interface for block throttling. The low limit is a best
effort limit to prioritize cgroups. Depending on the setting, the limit effort limit to prioritize cgroups. Depending on the setting, the limit
@ -130,7 +127,6 @@ config BLK_DEV_THROTTLING_LOW
config BLK_CMDLINE_PARSER config BLK_CMDLINE_PARSER
bool "Block device command line partition parser" bool "Block device command line partition parser"
default n
---help--- ---help---
Enabling this option allows you to specify the partition layout from Enabling this option allows you to specify the partition layout from
the kernel boot args. This is typically of use for embedded devices the kernel boot args. This is typically of use for embedded devices
@ -141,7 +137,6 @@ config BLK_CMDLINE_PARSER
config BLK_WBT config BLK_WBT
bool "Enable support for block device writeback throttling" bool "Enable support for block device writeback throttling"
default n
---help--- ---help---
Enabling this option enables the block layer to throttle buffered Enabling this option enables the block layer to throttle buffered
background writeback from the VM, making it more smooth and having background writeback from the VM, making it more smooth and having
@ -152,7 +147,6 @@ config BLK_WBT
config BLK_CGROUP_IOLATENCY config BLK_CGROUP_IOLATENCY
bool "Enable support for latency based cgroup IO protection" bool "Enable support for latency based cgroup IO protection"
depends on BLK_CGROUP=y depends on BLK_CGROUP=y
default n
---help--- ---help---
Enabling this option enables the .latency interface for IO throttling. Enabling this option enables the .latency interface for IO throttling.
The IO controller will attempt to maintain average IO latencies below The IO controller will attempt to maintain average IO latencies below
@ -163,7 +157,6 @@ config BLK_CGROUP_IOLATENCY
config BLK_WBT_SQ config BLK_WBT_SQ
bool "Single queue writeback throttling" bool "Single queue writeback throttling"
default n
depends on BLK_WBT depends on BLK_WBT
---help--- ---help---
Enable writeback throttling by default on legacy single queue devices Enable writeback throttling by default on legacy single queue devices

View File

@ -36,7 +36,6 @@ config IOSCHED_CFQ
config CFQ_GROUP_IOSCHED config CFQ_GROUP_IOSCHED
bool "CFQ Group Scheduling support" bool "CFQ Group Scheduling support"
depends on IOSCHED_CFQ && BLK_CGROUP depends on IOSCHED_CFQ && BLK_CGROUP
default n
---help--- ---help---
Enable group IO scheduling in CFQ. Enable group IO scheduling in CFQ.
@ -82,7 +81,6 @@ config MQ_IOSCHED_KYBER
config IOSCHED_BFQ config IOSCHED_BFQ
tristate "BFQ I/O scheduler" tristate "BFQ I/O scheduler"
default n
---help--- ---help---
BFQ I/O scheduler for BLK-MQ. BFQ distributes the bandwidth of BFQ I/O scheduler for BLK-MQ. BFQ distributes the bandwidth of
of the device among all processes according to their weights, of the device among all processes according to their weights,
@ -94,7 +92,6 @@ config IOSCHED_BFQ
config BFQ_GROUP_IOSCHED config BFQ_GROUP_IOSCHED
bool "BFQ hierarchical scheduling support" bool "BFQ hierarchical scheduling support"
depends on IOSCHED_BFQ && BLK_CGROUP depends on IOSCHED_BFQ && BLK_CGROUP
default n
---help--- ---help---
Enable hierarchical scheduling in BFQ, using the blkio Enable hierarchical scheduling in BFQ, using the blkio