]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
block/blk-throttle: Remove throtl_slice from struct throtl_data
authorGuenter Roeck <linux@roeck-us.net>
Fri, 14 Nov 2025 23:54:34 +0000 (15:54 -0800)
committerJens Axboe <axboe@kernel.dk>
Mon, 17 Nov 2025 16:39:48 +0000 (09:39 -0700)
commit6483faa3938bfbd2c9f8ae090f647635f3bd2877
treed8bdaa1eb1004be32b4124a2446a704c3ad3e6f7
parent20d0b359c73d15b25abea04066ef4cdbc6a8738d
block/blk-throttle: Remove throtl_slice from struct throtl_data

throtl_slice is now a constant. Remove the variable and use the constant
directly where needed.

Cc: Yu Kuai <yukuai@kernel.org>
Cc: Tejun Heo <tj@kernel.org>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Khazhismel Kumykov <khazhy@google.com>
Reviewed-by: Yu Kuai <yukuai@fnnas.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-throttle.c