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; }
Attachment:
signature.asc
Description: This is a digitally signed message part
- Prev by Date: Re: x86-64 bad pmds in 2.6.11.6
- Next by Date: Re: p = kmalloc(sizeof(*p), )
- Previous by thread: [RFC][PATCH 0/4] unify both copies of build_zonelists()
- Next by thread: [PATCH 1/3] Kbuild: avoid indexing .git directory for tags/cscope/...
- Index(es):