[PATCH] get rid of warning in aic7770.c:aic7770_config()

From: Martin J. Bligh
Date: Sun Aug 07 2005 - 14:03:38 EST


Get rid of unused variable warning:

drivers/scsi/aic7xxx/aic7770.c: In function `aic7770_config':
drivers/scsi/aic7xxx/aic7770.c:129: warning: unused variable `l'

Not used anywhere in the function, even under ifdef. Delete.

diff -aurpN -X /home/fletch/.diff.exclude virgin/drivers/scsi/aic7xxx/aic7770.c aic_warning/drivers/scsi/aic7xxx/aic7770.c
--- virgin/drivers/scsi/aic7xxx/aic7770.c 2005-08-07 09:15:41.000000000 -0700
+++ aic_warning/drivers/scsi/aic7xxx/aic7770.c 2005-08-07 11:58:41.000000000 -0700
@@ -126,7 +126,6 @@ aic7770_find_device(uint32_t id)
int
aic7770_config(struct ahc_softc *ahc, struct aic7770_identity *entry, u_int io)
{
- u_long l;
int error;
int have_seeprom;
u_int hostconf;

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/