diff options
author | Alex Shi <alex.shi@linux.alibaba.com> | 2020-01-21 16:48:54 +0800 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-01-22 10:31:20 -0700 |
commit | b7f22d993f51c64d79b7fd7ad2c060e3fdc006c0 (patch) | |
tree | 1b2a34d92e55c02d3e19e2689afd7c819c5a749d /block/bfq-iosched.c | |
parent | 8e42d239cb027143915cae13eb2ecf1360ee24de (diff) | |
download | linux-b7f22d993f51c64d79b7fd7ad2c060e3fdc006c0.tar.bz2 |
block/bfq: remove unused bfq_class_rt which never used
This macro is never used after introduced from commit aee69d78dec0
("block, bfq: introduce the BFQ-v0 I/O scheduler as an extra scheduler")
Better to remove it.
Signed-off-by: Alex Shi <alex.shi@linux.alibaba.com>
Cc: Paolo Valente <paolo.valente@linaro.org>
Cc: Jens Axboe <axboe@kernel.dk>
Cc: linux-block@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/bfq-iosched.c')
-rw-r--r-- | block/bfq-iosched.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/block/bfq-iosched.c b/block/bfq-iosched.c index ad4af4aaf2ce..4686b68b48b4 100644 --- a/block/bfq-iosched.c +++ b/block/bfq-iosched.c @@ -427,7 +427,6 @@ void bfq_schedule_dispatch(struct bfq_data *bfqd) } #define bfq_class_idle(bfqq) ((bfqq)->ioprio_class == IOPRIO_CLASS_IDLE) -#define bfq_class_rt(bfqq) ((bfqq)->ioprio_class == IOPRIO_CLASS_RT) #define bfq_sample_valid(samples) ((samples) > 80) |