cfq-iosched: algebraic simplification in cfq_prio_to_maxrq()
authorNamhyung Kim <namhyung@gmail.com>
Tue, 24 May 2011 08:23:21 +0000 (10:23 +0200)
committerJens Axboe <jaxboe@fusionio.com>
Tue, 24 May 2011 08:23:21 +0000 (10:23 +0200)
Simplify the calculation in cfq_prio_to_maxrq(), plus replace CFQ_PRIO_LISTS to
IOPRIO_BE_NR since they are the same and IOPRIO_BE_NR looks more reasonable in
this context IMHO.

Signed-off-by: Namhyung Kim <namhyung@gmail.com>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>

No differences found