Skip to contentSkip to conversation

drop dead 2.0 compat code in CENSORED

PATCH New Christoph Hellwig 1 participant 1 message Apr 21, 2003

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drop dead 2.0 compat code in CENSORED

Argg, vger is driving me nuts!

----- Forwarded message from Christoph Hellwig <[email protected]> -----

Date: Mon, 21 Apr 2003 12:01:44 +0200
From: Christoph Hellwig <[email protected]>
Subject: [PATCH] drop dead 2.0 compat code in aic7xxx/79xx
To: [email protected]
Cc: [email protected]

There's some 2.0-compat stuff in the aic drivers, but the most fundamental parts (old error handling, old PCI code) are missing.

Drop the dead bits.

drivers/scsi/aic7xxx/aic79xx_osm.c +0 -2
@@ -67,12 +67,10 @@
 #include <linux/unistd.h>
 static int errno;
 
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,1,0)
 /*
  * Lock protecting manipulation of the ahd softc list.
  */
 spinlock_t ahd_list_spinlock;
-#endif
 
 #if LINUX_VERSION_CODE < KERNEL_VERSION(2,3,0)
 struct proc_dir_entry proc_scsi_aic79xx = {

===== drivers/scsi/aic7xxx/aic79xx_osm.h 1.22 vs edited =====

drivers/scsi/aic7xxx/aic79xx_osm.h +1 -70

102 lines not on this page · raw message

drivers/scsi/aic7xxx/aic7xxx_osm.c +0 -2
@@ -146,12 +146,10 @@
 #include <linux/unistd.h>
 static int errno;
 
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,1,0)
 /*
  * Lock protecting manipulation of the ahc softc list.
  */
 spinlock_t ahc_list_spinlock;
-#endif
 
 /*
  * To generate the correct addresses for the controller to issue

===== drivers/scsi/aic7xxx/aic7xxx_osm.h 1.35 vs edited =====

drivers/scsi/aic7xxx/aic7xxx_osm.h +1 -72

104 lines not on this page · raw message

----- End forwarded message -----