diff options
author | Jens Axboe <axboe@kernel.dk> | 2018-05-09 15:25:22 -0600 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2018-05-10 11:27:31 -0600 |
commit | bd7d4ef6a4c9b3611fa487a0065bf042c71ce620 (patch) | |
tree | f6e496de016eae8151f382415847d0e3aa93f35f /block/bfq-iosched.h | |
parent | f0635b8a416e3b99dc6fd9ac3ce534764869d0c8 (diff) | |
download | linux-bd7d4ef6a4c9b3611fa487a0065bf042c71ce620.tar.gz linux-bd7d4ef6a4c9b3611fa487a0065bf042c71ce620.tar.bz2 linux-bd7d4ef6a4c9b3611fa487a0065bf042c71ce620.zip |
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 <paolo.valente@linaro.org>
Reviewed-by: Omar Sandoval <osandov@fb.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/bfq-iosched.h')
-rw-r--r-- | block/bfq-iosched.h | 6 |
1 files changed, 0 insertions, 6 deletions
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 @@ -636,12 +636,6 @@ struct bfq_data { 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) */ |