diff mbox series

[v3] block: delete unused config BLK_RQ_IO_DATA_LEN

Message ID 1595297452-38695-1-git-send-email-jiufei.xue@linux.alibaba.com (mailing list archive)
State New, archived
Headers show
Series [v3] block: delete unused config BLK_RQ_IO_DATA_LEN | expand

Commit Message

Jiufei Xue July 21, 2020, 2:10 a.m. UTC
Config BLK_RQ_IO_DATA_LEN was once used to enable the io_data_len field
in reqeust to remember blk_rq_bytes() at the time the request gets
issued. However io_data_len is replaced by blk_rq_stats_sectors() and
the config is not used now. So delete it.

Signed-off-by: Jiufei Xue <jiufei.xue@linux.alibaba.com>
---
 block/Kconfig | 1 -
 1 file changed, 1 deletion(-)
diff mbox series

Patch

diff --git a/block/Kconfig b/block/Kconfig
index 9357d73..d52c9bc 100644
--- a/block/Kconfig
+++ b/block/Kconfig
@@ -146,7 +146,6 @@  config BLK_CGROUP_IOLATENCY
 config BLK_CGROUP_IOCOST
 	bool "Enable support for cost model based cgroup IO controller"
 	depends on BLK_CGROUP=y
-	select BLK_RQ_IO_DATA_LEN
 	select BLK_RQ_ALLOC_TIME
 	help
 	Enabling this option enables the .weight interface for cost