diff options
| author | Andrew Morton <akpm@osdl.org> | 2004-02-18 04:54:14 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-02-18 04:54:14 -0800 |
| commit | c9700b7e697474cc6ddf051626e6d4264c0593b0 (patch) | |
| tree | f9fa946f5a00ca77321e42bddcea6471a1491ded /include/linux | |
| parent | 32856f320b2fa86776cdc0b8980c27dd2596e7a0 (diff) | |
[PATCH] remove kernel 2.2 #ifdef's from {i,}stallion.h
From: Adrian Bunk <bunk@fs.tum.de>
The patch below removeskernel 2.2 #ifdef's from {i,}stallion.h .
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/istallion.h | 6 | ||||
| -rw-r--r-- | include/linux/stallion.h | 5 |
2 files changed, 0 insertions, 11 deletions
diff --git a/include/linux/istallion.h b/include/linux/istallion.h index 8e72597f2b74..8de38f372835 100644 --- a/include/linux/istallion.h +++ b/include/linux/istallion.h @@ -70,15 +70,9 @@ typedef struct { void *argp; unsigned int rxmarkmsk; struct tty_struct *tty; -#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,3,0)) - struct wait_queue *open_wait; - struct wait_queue *close_wait; - struct wait_queue *raw_wait; -#else wait_queue_head_t open_wait; wait_queue_head_t close_wait; wait_queue_head_t raw_wait; -#endif struct work_struct tqhangup; asysigs_t asig; unsigned long addr; diff --git a/include/linux/stallion.h b/include/linux/stallion.h index 228180adb5ec..fc118c6f2682 100644 --- a/include/linux/stallion.h +++ b/include/linux/stallion.h @@ -95,13 +95,8 @@ typedef struct stlport { unsigned long hwid; void *uartp; struct tty_struct *tty; -#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,3,0)) - struct wait_queue *open_wait; - struct wait_queue *close_wait; -#else wait_queue_head_t open_wait; wait_queue_head_t close_wait; -#endif struct work_struct tqueue; comstats_t stats; stlrq_t tx; |
