diff options
author | Michal Piotrowski <michal.k.k.piotrowski@gmail.com> | 2006-09-26 01:59:02 +0200 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2006-09-26 19:40:13 +0200 |
commit | 288777f89a63ca0bece7b5e082ce9beebacfb8fd (patch) | |
tree | 7c70b7e87864ac9e940f90060a193c2717b574ae /drivers | |
parent | [SCSI] megaraid: Use the proper type to hold the irq number. (diff) | |
download | linux-288777f89a63ca0bece7b5e082ce9beebacfb8fd.tar.xz linux-288777f89a63ca0bece7b5e082ce9beebacfb8fd.zip |
[SCSI] drivers/scsi/dpt/dpti_i2o.h: removal of old scsi code
Signed-off-by: Michal Piotrowski <michal.k.k.piotrowski@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/scsi/dpt/dpti_i2o.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/scsi/dpt/dpti_i2o.h b/drivers/scsi/dpt/dpti_i2o.h index d84a281ad944..b3fa7ed71faf 100644 --- a/drivers/scsi/dpt/dpti_i2o.h +++ b/drivers/scsi/dpt/dpti_i2o.h @@ -47,21 +47,11 @@ * I2O Interface Objects */ -#if LINUX_VERSION_CODE < KERNEL_VERSION(2,4,0) - -#define DECLARE_MUTEX(name) struct semaphore name=MUTEX - -typedef struct wait_queue *adpt_wait_queue_head_t; -#define ADPT_DECLARE_WAIT_QUEUE_HEAD(wait) adpt_wait_queue_head_t wait = NULL -typedef struct wait_queue adpt_wait_queue_t; -#else - #include <linux/wait.h> typedef wait_queue_head_t adpt_wait_queue_head_t; #define ADPT_DECLARE_WAIT_QUEUE_HEAD(wait) DECLARE_WAIT_QUEUE_HEAD(wait) typedef wait_queue_t adpt_wait_queue_t; -#endif /* * message structures */ |