From: Norbert Kiesel Date: Sun, 30 Oct 2005 23:01:43 +0000 (-0800) Subject: [PATCH] delete 2 unreachable statements in drivers/block/paride/pf.c X-Git-Tag: v2.6.15-rc1~59^2~15^2~116 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3ccc7f293f2534ce1cbe5f91b943096a04d93395;p=linux-2.6 [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 Signed-off-by: Linus Torvalds --- diff --git a/drivers/block/paride/pf.c b/drivers/block/paride/pf.c index 94af920465..e9746af29b 100644 --- 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; }