From bd7d4ef6a4c9b3611fa487a0065bf042c71ce620 Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Wed, 9 May 2018 15:25:22 -0600 Subject: bfq-iosched: remove unused variable bfqd->sb_shift was attempted used as a cache for the sbitmap queue shift, but we don't need it, as it never changes. Kill it with fire. Acked-by: Paolo Valente Reviewed-by: Omar Sandoval Signed-off-by: Jens Axboe --- block/bfq-iosched.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'block/bfq-iosched.h') diff --git a/block/bfq-iosched.h b/block/bfq-iosched.h index 8ec7ff92cd6f..faac509cb35e 100644 --- a/block/bfq-iosched.h +++ b/block/bfq-iosched.h @@ -635,12 +635,6 @@ struct bfq_data { /* bfqq associated with the task issuing current bio for merging */ struct bfq_queue *bio_bfqq; - /* - * Cached sbitmap shift, used to compute depth limits in - * bfq_update_depths. - */ - unsigned int sb_shift; - /* * Depth limits used in bfq_limit_depth (see comments on the * function) -- cgit v1.2.3