drivers/scsi/aic7xxx/aic7xxx_osm.c:147: warning: `errno' defined but not used
drivers/scsi/aic7xxx/aic79xx_osm.c:68: warning: `errno' defined but not used

and it uses -Werror.


 drivers/scsi/aic7xxx/aic79xx_osm.c |    1 -
 drivers/scsi/aic7xxx/aic7xxx_osm.c |    1 -
 2 files changed, 2 deletions(-)

diff -puN drivers/scsi/aic7xxx/aic79xx_osm.c~aic-errno-removal drivers/scsi/aic7xxx/aic79xx_osm.c
--- 25-power4/drivers/scsi/aic7xxx/aic79xx_osm.c~aic-errno-removal	2003-05-13 21:56:16.000000000 -0700
+++ 25-power4-akpm/drivers/scsi/aic7xxx/aic79xx_osm.c	2003-05-13 21:56:16.000000000 -0700
@@ -65,7 +65,6 @@
 #define __KERNEL_SYSCALLS__
 
 #include <linux/unistd.h>
-static int errno;
 
 /*
  * Lock protecting manipulation of the ahd softc list.
diff -puN drivers/scsi/aic7xxx/aic7xxx_osm.c~aic-errno-removal drivers/scsi/aic7xxx/aic7xxx_osm.c
--- 25-power4/drivers/scsi/aic7xxx/aic7xxx_osm.c~aic-errno-removal	2003-05-13 21:56:16.000000000 -0700
+++ 25-power4-akpm/drivers/scsi/aic7xxx/aic7xxx_osm.c	2003-05-13 21:56:16.000000000 -0700
@@ -144,7 +144,6 @@
 #define __KERNEL_SYSCALLS__
  
 #include <linux/unistd.h>
-static int errno;
 
 /*
  * Lock protecting manipulation of the ahc softc list.

_