diff options
author | Norbert Kiesel <nkiesel@tbdnetworks.com> | 2005-10-30 18:01:43 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-10-30 20:37:18 -0500 |
commit | 3ccc7f293f2534ce1cbe5f91b943096a04d93395 (patch) | |
tree | ec2d31450c17d02dd24544855d4f5a5a5b924ad7 /drivers/block/paride/pf.c | |
parent | a5a0d52c7305cb3629ef0cc9e2e0e106869e1907 (diff) |
[PATCH] delete 2 unreachable statements in drivers/block/paride/pf.c
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>
Diffstat (limited to 'drivers/block/paride/pf.c')
-rw-r--r-- | drivers/block/paride/pf.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/block/paride/pf.c b/drivers/block/paride/pf.c index 94af920465b5..e9746af29b9f 100644 --- a/drivers/block/paride/pf.c +++ b/drivers/block/paride/pf.c | |||
@@ -807,10 +807,6 @@ static int pf_next_buf(void) | |||
807 | return 1; | 807 | return 1; |
808 | spin_lock_irqsave(&pf_spin_lock, saved_flags); | 808 | spin_lock_irqsave(&pf_spin_lock, saved_flags); |
809 | pf_end_request(1); | 809 | pf_end_request(1); |
810 | if (pf_req) { | ||
811 | pf_count = pf_req->current_nr_sectors; | ||
812 | pf_buf = pf_req->buffer; | ||
813 | } | ||
814 | spin_unlock_irqrestore(&pf_spin_lock, saved_flags); | 810 | spin_unlock_irqrestore(&pf_spin_lock, saved_flags); |
815 | return 1; | 811 | return 1; |
816 | } | 812 | } |