From: Adrian Bunk <bunk@fs.tum.de>
To: linux-scsi@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Subject: [2.5 patch] small cleanup in drivers/scsi/i91uscsi.h
Date: Sat, 18 Jan 2003 17:58:09 +0100 [thread overview]
Message-ID: <20030118165809.GH10647@fs.tum.de> (raw)
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 */
reply other threads:[~2003-01-18 16:49 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20030118165809.GH10647@fs.tum.de \
--to=bunk@fs.tum.de \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox