Skip to contentSkip to conversation

remove old ifdef'd code from cam.h

patch-kj maximilian attems 1 participant 1 message Jun 21, 2004

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

From: Domen Puncer <[email protected]>
Patches to remove some old ifdefs.
kill compat cruft like #define ahd_pci_set_dma_mask pci_set_dma_mask

---

 linux-2.6.7-max/drivers/scsi/aic7xxx/cam.h |    6 ------
 1 files changed, 6 deletions(-)
drivers/scsi/aic7xxx/cam.h renamed from drivers/scsi/aic7xxx/cam.h~remove-old-ifdefs-aic7xxx-cam +0 -6
diff -puN drivers/scsi/aic7xxx/cam.h~remove-old-ifdefs-aic7xxx-cam drivers/scsi/aic7xxx/cam.h
@@ -85,12 +85,6 @@ typedef enum {
 	CAM_STATUS_MASK		= 0x3F
 } cam_status;
 
-#if LINUX_VERSION_CODE < KERNEL_VERSION(2,3,0)
-#define	SCSI_DATA_READ	1
-#define	SCSI_DATA_WRITE 2
-#define SCSI_DATA_NONE  3
-#endif
-
 /*
  * Definitions for the asynchronous callback CCB fields.
  */

_