Commit 8e7d9b1e authored by Alan Cox's avatar Alan Cox Committed by Linus Torvalds

[PATCH] filter more 2.2 junk

parent 7ece26ee
......@@ -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 @@ typedef struct Ha_Ctrl_Struc {
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 */
......
......@@ -67,12 +67,6 @@
* - Fix allocation of scsi host structs and private data
**************************************************************************/
#define CVT_LINUX_VERSION(V,P,S) (V * 65536 + P * 256 + S)
#ifndef LINUX_VERSION_CODE
#include <linux/version.h>
#endif
#include <linux/module.h>
#include <linux/errno.h>
......
......@@ -63,14 +63,6 @@
* merged them into a single header used by both .c files.
****************************************************************************/
#ifndef CVT_LINUX_VERSION
#define CVT_LINUX_VERSION(V,P,S) (((V) * 65536) + ((P) * 256) + (S))
#endif
#ifndef LINUX_VERSION_CODE
#include <linux/version.h>
#endif
#include <linux/config.h>
#include <linux/types.h>
#include <linux/pci.h>
......@@ -117,12 +109,6 @@ static int inia100_bus_reset(Scsi_Cmnd *);
#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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment