Skip to content

Commit

Permalink
block/bfq: remove unused bfq_class_rt which never used
Browse files Browse the repository at this point in the history
This macro is never used after introduced from commit aee69d7
("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>
  • Loading branch information
Alex Shi authored and Jens Axboe committed Jan 22, 2020
1 parent 8e42d23 commit b7f22d9
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion block/bfq-iosched.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit b7f22d9

Please sign in to comment.