Hi,
the last patch from Jens Axboe for drivers/block/paride/pf.c
introduced pf_end_request() which sets pf_req to NULL. The trivial
patch below deletes 2 unreachable statements. I asked Jens about it
and he said: "Yeah that is a leftover, harmless though."
Best,
Norbert
diff -u a/drivers/block/paride/pf.c b/drivers/block/paride/pf.c
--- a/drivers/block/paride/pf.c 2005-09-20 10:24:54.000000000 -0700
+++ b/drivers/block/paride/pf.c 2005-09-20 10:25:55.000000000 -0700
@@ -807,10 +807,6 @@
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;
}