Thread (79 messages) 79 messages, 7 authors, 2012-03-18
STALE5209d

[PATCH 13/68] TTY: serialP, remove DECLARE_WAITQUEUE check

From: Jiri Slaby <hidden>
Date: 2012-03-05 13:53:16
Also in: lkml
Subsystem: the rest · Maintainer: Linus Torvalds

The macro is always defined now. This was there only for historical
reasons.

Signed-off-by: Jiri Slaby <redacted>
---
 include/linux/serialP.h |    6 ------
 1 file changed, 6 deletions(-)
diff --git a/include/linux/serialP.h b/include/linux/serialP.h
index e811a61..ec27b34 100644
--- a/include/linux/serialP.h
+++ b/include/linux/serialP.h
@@ -79,15 +79,9 @@ struct async_struct {
 	int			io_type;
 	struct work_struct			work;
 	struct tasklet_struct	tlet;
-#ifdef DECLARE_WAITQUEUE
 	wait_queue_head_t	open_wait;
 	wait_queue_head_t	close_wait;
 	wait_queue_head_t	delta_msr_wait;
-#else	
-	struct wait_queue	*open_wait;
-	struct wait_queue	*close_wait;
-	struct wait_queue	*delta_msr_wait;
-#endif	
 	struct async_struct	*next_port; /* For the linked list */
 	struct async_struct	*prev_port;
 };
-- 
1.7.9.2
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help