Skip to content

Commit

Permalink
[PATCH] delete 2 unreachable statements in drivers/block/paride/pf.c
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
Norbert Kiesel authored and Linus Torvalds committed Oct 31, 2005
1 parent a5a0d52 commit 3ccc7f2
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions drivers/block/paride/pf.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 3ccc7f2

Please sign in to comment.