projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a5a0d52
)
[PATCH] delete 2 unreachable statements in drivers/block/paride/pf.c
author
Norbert Kiesel
<nkiesel@tbdnetworks.com>
Sun, 30 Oct 2005 23:01:43 +0000
(15:01 -0800)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Mon, 31 Oct 2005 01:37:18 +0000
(17:37 -0800)
The last patch from Jens Axboe for drivers/block/paride/pf.c introduced
pf_end_request() which sets pf_req to NULL.
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/block/paride/pf.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/block/paride/pf.c
b/drivers/block/paride/pf.c
index 94af920465b588392c262fe6fe88fc35730601f1..e9746af29b9f0299f03261667e43fb86f8f7063d 100644
(file)
--- a/
drivers/block/paride/pf.c
+++ b/
drivers/block/paride/pf.c
@@
-807,10
+807,6
@@
static int pf_next_buf(void)
return 1;
spin_lock_irqsave(&pf_spin_lock, saved_flags);
pf_end_request(1);
- if (pf_req) {
- pf_count = pf_req->current_nr_sectors;
- pf_buf = pf_req->buffer;
- }
spin_unlock_irqrestore(&pf_spin_lock, saved_flags);
return 1;
}