mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
cfq-iosched: Remove bogus check in queue_fail path
queue_fail can only be reached if cic is NULL, so its check for cic must be bogus. Signed-off-by: Paul Bolle <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
This commit is contained in:
parent
4c49ff3fe1
commit
28304f485c
1 changed files with 0 additions and 3 deletions
|
|
@ -3786,9 +3786,6 @@ new_queue:
|
|||
return 0;
|
||||
|
||||
queue_fail:
|
||||
if (cic)
|
||||
put_io_context(cic->ioc);
|
||||
|
||||
cfq_schedule_dispatch(cfqd);
|
||||
spin_unlock_irqrestore(q->queue_lock, flags);
|
||||
cfq_log(cfqd, "set_request fail");
|
||||
|
|
|
|||
Loading…
Reference in a new issue