diff options
| author | Tejun Heo <tj@kernel.org> | 2015-08-18 14:55:00 -0700 |
|---|---|---|
| committer | Moyster <oysterized@gmail.com> | 2016-09-01 12:07:02 +0200 |
| commit | 273435b336fcc582ea2a5aac68b13cfc74c2553e (patch) | |
| tree | f8726f79909d15daa74477a75a352e6694d827ef /include/linux/memory_hotplug.h | |
| parent | cdde1515fdfa7f16cf9c69312dd69a875ab0963e (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>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Diffstat (limited to 'include/linux/memory_hotplug.h')
0 files changed, 0 insertions, 0 deletions
