Skip to contentSkip to conversation

remove kernel 2.2 #ifdef's from {i,}stallion.h

PATCH New Adrian Bunk 1 participant 1 message Feb 7, 2004

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 remove kernel 2.2 #ifdef's from {i,}stallion.h

The patch below removeskernel 2.2 #ifdef's from {i,}stallion.h .

Please apply
Adrian

include/linux/istallion.h renamed from include/linux/istallion.h.old +0 -6
@@ -70,15 +70,9 @@
 	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;
include/linux/stallion.h renamed from include/linux/stallion.h.old +0 -5
@@ -95,13 +95,8 @@
 	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;