lkml.org 
[lkml]   [2003]   [Jan]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[2.5 patch] small cleanup in drivers/scsi/i91uscsi.h
The patch below does the follwojng small updates in 
drivers/scsi/i91uscsi.h:
- remove #if for kernel 2.0
- remove unused #define TRUE/FALSE

cu
Adrian

--- linux-2.5.59-full/drivers/scsi/i91uscsi.h.old 2003-01-18 17:53:01.000000000 +0100
+++ linux-2.5.59-full/drivers/scsi/i91uscsi.h 2003-01-18 17:53:55.000000000 +0100
@@ -70,12 +70,6 @@
#ifndef NULL
#define NULL 0 /* zero */
#endif
-#ifndef TRUE
-#define TRUE (1) /* boolean true */
-#endif
-#ifndef FALSE
-#define FALSE (0) /* boolean false */
-#endif
#ifndef FAILURE
#define FAILURE (-1)
#endif
@@ -597,11 +591,9 @@
TCS HCS_Tcs[MAX_TARGETS]; /* 78 */
ULONG pSRB_head; /* SRB save queue header */
ULONG pSRB_tail; /* SRB save queue tail */
-#if LINUX_VERSION_CODE >= CVT_LINUX_VERSION(2,1,95)
spinlock_t HCS_AvailLock;
spinlock_t HCS_SemaphLock;
spinlock_t pSRB_lock; /* SRB queue lock */
-#endif
} HCS;

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

\
 
 \ /
  Last update: 2005-03-22 13:32    [W:0.038 / U:0.080 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site