Skip to content

Commit df252bd

Browse files
masahir0yaxboe
authored andcommitted
block: remove redundant =y from BLK_CGROUP dependency
CONFIG_BLK_CGROUP is a boolean option, that is, its value is 'y' or 'n'. The comparison to 'y' is redundant. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Christoph Hellwig <hch@lst.de> Link: https://lore.kernel.org/r/20210927140000.866249-2-masahiroy@kernel.org Signed-off-by: Jens Axboe <axboe@kernel.dk>
1 parent 349302d commit df252bd

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

block/Kconfig

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ config BLK_DEV_ZONED
7373

7474
config BLK_DEV_THROTTLING
7575
bool "Block layer bio throttling support"
76-
depends on BLK_CGROUP=y
76+
depends on BLK_CGROUP
7777
select BLK_CGROUP_RWSTAT
7878
help
7979
Block layer bio throttling support. It can be used to limit
@@ -112,7 +112,7 @@ config BLK_WBT_MQ
112112

113113
config BLK_CGROUP_IOLATENCY
114114
bool "Enable support for latency based cgroup IO protection"
115-
depends on BLK_CGROUP=y
115+
depends on BLK_CGROUP
116116
help
117117
Enabling this option enables the .latency interface for IO throttling.
118118
The IO controller will attempt to maintain average IO latencies below
@@ -132,7 +132,7 @@ config BLK_CGROUP_FC_APPID
132132

133133
config BLK_CGROUP_IOCOST
134134
bool "Enable support for cost model based cgroup IO controller"
135-
depends on BLK_CGROUP=y
135+
depends on BLK_CGROUP
136136
select BLK_RQ_IO_DATA_LEN
137137
select BLK_RQ_ALLOC_TIME
138138
help

0 commit comments

Comments
 (0)