diff options
author | Tejun Heo <tj@kernel.org> | 2015-08-18 14:55:00 -0700 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2015-08-18 15:49:16 -0700 |
commit | 563180a44b7d7978f44e9776eedfbbc550c2398d (patch) | |
tree | 8bed01d551e26f5e6ea845c18eeb36bfac55cb6a /include | |
parent | bce6133b09013f70d41a678d262a12147ed43889 (diff) |
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 <tj@kernel.org>
Acked-by: Jeff Moyer <jmoyer@redhat.com>
Cc: Vivek Goyal <vgoyal@redhat.com>
Cc: Arianna Avanzini <avanzini.arianna@gmail.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions