From: Namhyung Kim Date: Tue, 24 May 2011 08:23:21 +0000 (+0200) Subject: cfq-iosched: algebraic simplification in cfq_prio_to_maxrq() X-Git-Tag: v3.0-rc1~163^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b9f8ce059940064a732da49b5d6e618381dad956;p=pandora-kernel.git cfq-iosched: algebraic simplification in cfq_prio_to_maxrq() 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 Signed-off-by: Jens Axboe --- Reading git-diff-tree failed