Commit c265a7f4 authored by Jens Axboe's avatar Jens Axboe

cfq-iosched: get rid of enable_idle being unused warning

Signed-off-by: default avatarJens Axboe <jens.axboe@oracle.com>
parent 0b07de85
...@@ -1731,7 +1731,7 @@ cfq_update_idle_window(struct cfq_data *cfqd, struct cfq_queue *cfqq, ...@@ -1731,7 +1731,7 @@ cfq_update_idle_window(struct cfq_data *cfqd, struct cfq_queue *cfqq,
if (!cfq_cfqq_sync(cfqq) || cfq_class_idle(cfqq)) if (!cfq_cfqq_sync(cfqq) || cfq_class_idle(cfqq))
return; return;
old_idle = cfq_cfqq_idle_window(cfqq); enable_idle = old_idle = cfq_cfqq_idle_window(cfqq);
if (!atomic_read(&cic->ioc->nr_tasks) || !cfqd->cfq_slice_idle || if (!atomic_read(&cic->ioc->nr_tasks) || !cfqd->cfq_slice_idle ||
(cfqd->hw_tag && CIC_SEEKY(cic))) (cfqd->hw_tag && CIC_SEEKY(cic)))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment