projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c49ff3
)
cfq-iosched: Remove bogus check in queue_fail path
author
Paul Bolle
<pebolle@tiscali.nl>
Thu, 2 Jun 2011 11:05:02 +0000
(13:05 +0200)
committer
Jens Axboe
<jaxboe@fusionio.com>
Thu, 2 Jun 2011 11:05:02 +0000
(13:05 +0200)
queue_fail can only be reached if cic is NULL, so its check for cic must
be bogus.
Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
block/cfq-iosched.c
patch
|
blob
|
blame
|
history
diff --git
a/block/cfq-iosched.c
b/block/cfq-iosched.c
index 8a02c955c6104bd408ee12e54efe5f952c8d9d10..3c7b537bf9081f9f43b90c7cdcd9a95073f1c02b 100644
(file)
--- a/
block/cfq-iosched.c
+++ b/
block/cfq-iosched.c
@@
-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");