diff options
author | Tejun Heo <[email protected]> | 2015-08-18 14:55:00 -0700 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2015-08-18 15:49:16 -0700 |
commit | 563180a44b7d7978f44e9776eedfbbc550c2398d (patch) | |
tree | 8bed01d551e26f5e6ea845c18eeb36bfac55cb6a /tools/perf/util/trace-event-scripting.c | |
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 <[email protected]>
Acked-by: Jeff Moyer <[email protected]>
Cc: Vivek Goyal <[email protected]>
Cc: Arianna Avanzini <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions