|
From: Kenn H. <ke...@us...> - 2004-08-14 00:54:08
|
Update of /cvsroot/linux-vax/kernel-2.5/drivers/scsi In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18051 Modified Files: NCR5380.c Log Message: Fix two compiler warnings about unused code Index: NCR5380.c =================================================================== RCS file: /cvsroot/linux-vax/kernel-2.5/drivers/scsi/NCR5380.c,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- NCR5380.c 13 Aug 2004 23:44:24 -0000 1.3 +++ NCR5380.c 14 Aug 2004 00:53:58 -0000 1.4 @@ -28,6 +28,9 @@ /* * $Log$ + * Revision 1.4 2004/08/14 00:53:58 kenn + * Fix two compiler warnings about unused code + * * Revision 1.3 2004/08/13 23:44:24 kenn * Workaround a bug when AUTOSENSE is enabled * @@ -401,6 +404,7 @@ return -ETIMEDOUT; } +#ifdef NDEBUG static struct { unsigned char value; const char *name; @@ -414,7 +418,6 @@ {PHASE_UNKNOWN, "UNKNOWN"} }; -#ifdef NDEBUG static struct { unsigned char mask; const char *name; @@ -676,6 +679,8 @@ } +#ifdef AUTOPROBE_IRQ + static int probe_irq __initdata = 0; /** @@ -751,6 +756,7 @@ return probe_irq; } +#endif /* AUTOPROBE_IRQ */ /** * NCR58380_print_options - show options |