Commit 3ccc7f293f2534ce1cbe5f91b943096a04d93395

Authored by Norbert Kiesel
Committed by Linus Torvalds
1 parent a5a0d52c73

[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>

Showing 1 changed file with 0 additions and 4 deletions Side-by-side Diff

drivers/block/paride/pf.c
... ... @@ -807,10 +807,6 @@
807 807 return 1;
808 808 spin_lock_irqsave(&pf_spin_lock, saved_flags);
809 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 810 spin_unlock_irqrestore(&pf_spin_lock, saved_flags);
815 811 return 1;
816 812 }