From: Tejun Heo Date: Tue, 18 Aug 2015 21:55:00 +0000 (-0700) Subject: cfq-iosched: minor cleanups X-Git-Tag: omap-for-v4.3/fixes-rc1~35^2~36 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=563180a44b7d7978f44e9776eedfbbc550c2398d;p=pandora-kernel.git cfq-iosched: minor cleanups * Some were accessing cic->cfqq[] directly. Always use cic_to_cfqq() and cic_set_cfqq(). * check_ioprio_changed() doesn't need to verify cfq_get_queue()'s return for NULL. It's always non-NULL. Simplify accordingly. This patch doesn't cause any functional changes. Signed-off-by: Tejun Heo Acked-by: Jeff Moyer Cc: Vivek Goyal Cc: Arianna Avanzini Signed-off-by: Jens Axboe --- Reading git-diff-tree failed