linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [-mm patch] scsi/lpfc/lpfc_init.c: remove unused variable
       [not found] <20070425225716.8e9b28ca.akpm@linux-foundation.org>
@ 2007-04-28 19:20 ` Adrian Bunk
  0 siblings, 0 replies; only message in thread
From: Adrian Bunk @ 2007-04-28 19:20 UTC (permalink / raw)
  To: Andrew Morton, Randy Dunlap, James Smart, James Bottomley
  Cc: linux-kernel, linux-scsi

This patch removes a no longer used variable:

<--  snip  -->

...
  CC      drivers/scsi/lpfc/lpfc_init.o
/home/bunk/linux/kernel-2.6/linux-2.6.21-rc7-mm2/drivers/scsi/lpfc/lpfc_init.c: In function ‘lpfc_pci_probe_one’:
/home/bunk/linux/kernel-2.6/linux-2.6.21-rc7-mm2/drivers/scsi/lpfc/lpfc_init.c:1419: warning: unused variable ‘retval’
...

<--  snip  -->

Signed-off-by: Adrian Bunk <bunk@stusta.de>

---
--- linux-2.6.21-rc7-mm2/drivers/scsi/lpfc/lpfc_init.c.old	2007-04-28 15:20:42.000000000 +0200
+++ linux-2.6.21-rc7-mm2/drivers/scsi/lpfc/lpfc_init.c	2007-04-28 15:20:57.000000000 +0200
@@ -1416,7 +1416,7 @@
 	struct lpfc_sli  *psli;
 	struct lpfc_iocbq *iocbq_entry = NULL, *iocbq_next = NULL;
 	unsigned long bar0map_len, bar2map_len;
-	int error = -ENODEV, retval;
+	int error = -ENODEV;
 	int i;
 	uint16_t iotag;
 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-04-28 19:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20070425225716.8e9b28ca.akpm@linux-foundation.org>
2007-04-28 19:20 ` [-mm patch] scsi/lpfc/lpfc_init.c: remove unused variable Adrian Bunk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).