aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJiri Slaby <jslaby@suse.cz>2012-03-05 08:52:00 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-03-08 14:42:21 -0500
commit44a1bfd95d0a6c0096e79a883197596e1ce83cc3 (patch)
tree418792898ea5503f4103812b693c30510c4c6621
parent54089d4cdc89732e65f968209d10aae542482c0c (diff)
TTY: serialP, remove DECLARE_WAITQUEUE check
The macro is always defined now. This was there only for historical reasons. Signed-off-by: Jiri Slaby <jslaby@suse.cz> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--include/linux/serialP.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/linux/serialP.h b/include/linux/serialP.h
index e811a615f696..ec27b34bbbd6 100644
--- a/include/linux/serialP.h
+++ b/include/linux/serialP.h
@@ -79,15 +79,9 @@ struct async_struct {
79 int io_type; 79 int io_type;
80 struct work_struct work; 80 struct work_struct work;
81 struct tasklet_struct tlet; 81 struct tasklet_struct tlet;
82#ifdef DECLARE_WAITQUEUE
83 wait_queue_head_t open_wait; 82 wait_queue_head_t open_wait;
84 wait_queue_head_t close_wait; 83 wait_queue_head_t close_wait;
85 wait_queue_head_t delta_msr_wait; 84 wait_queue_head_t delta_msr_wait;
86#else
87 struct wait_queue *open_wait;
88 struct wait_queue *close_wait;
89 struct wait_queue *delta_msr_wait;
90#endif
91 struct async_struct *next_port; /* For the linked list */ 85 struct async_struct *next_port; /* For the linked list */
92 struct async_struct *prev_port; 86 struct async_struct *prev_port;
93}; 87};