summaryrefslogtreecommitdiffstats
path: root/include/linux/serialP.h
diff options
context:
space:
mode:
authorJiri Slaby2012-03-05 14:52:00 +0100
committerGreg Kroah-Hartman2012-03-08 20:42:21 +0100
commit44a1bfd95d0a6c0096e79a883197596e1ce83cc3 (patch)
tree418792898ea5503f4103812b693c30510c4c6621 /include/linux/serialP.h
parentTTY: srmcons, convert to use tty_port (diff)
downloadkernel-qcow2-linux-44a1bfd95d0a6c0096e79a883197596e1ce83cc3.tar.gz
kernel-qcow2-linux-44a1bfd95d0a6c0096e79a883197596e1ce83cc3.tar.xz
kernel-qcow2-linux-44a1bfd95d0a6c0096e79a883197596e1ce83cc3.zip
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>
Diffstat (limited to 'include/linux/serialP.h')
-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 {
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;
};