Skip to content

Commit 288777f

Browse files
Michal PiotrowskiJames Bottomley
authored andcommitted
[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>
1 parent f5ebbeb commit 288777f

1 file changed

Lines changed: 0 additions & 10 deletions

File tree

‎drivers/scsi/dpt/dpti_i2o.h‎

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -47,21 +47,11 @@
4747
* I2O Interface Objects
4848
*/
4949

50-
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,4,0)
51-
52-
#define DECLARE_MUTEX(name) struct semaphore name=MUTEX
53-
54-
typedef struct wait_queue *adpt_wait_queue_head_t;
55-
#define ADPT_DECLARE_WAIT_QUEUE_HEAD(wait) adpt_wait_queue_head_t wait = NULL
56-
typedef struct wait_queue adpt_wait_queue_t;
57-
#else
58-
5950
#include <linux/wait.h>
6051
typedef wait_queue_head_t adpt_wait_queue_head_t;
6152
#define ADPT_DECLARE_WAIT_QUEUE_HEAD(wait) DECLARE_WAIT_QUEUE_HEAD(wait)
6253
typedef wait_queue_t adpt_wait_queue_t;
6354

64-
#endif
6555
/*
6656
* message structures
6757
*/

0 commit comments

Comments
 (0)