[PATCH] trivial: delete 2 unreachable statements in drivers/block/paride/pf.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux