aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/riscom8.h
diff options
context:
space:
mode:
authorJiri Slaby <jirislaby@gmail.com>2008-02-07 03:16:41 -0500
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2008-02-07 11:42:34 -0500
commitb98e70de7836cf0ea49b6714b2455381865b1260 (patch)
tree2d738af030c1c2c478f707fbe4a8b7da55c2db2d /drivers/char/riscom8.h
parent3099bbc59435928fbd1f4ebd835f825bca755bbb (diff)
Char: riscom8, remove wakeup and hangup bottomhalves
Both of them may be called directly from the code, don't add special code and variables and schedule a work for them. Signed-off-by: Jiri Slaby <jirislaby@gmail.com> Acked-by: Alan Cox <alan@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/char/riscom8.h')
-rw-r--r--drivers/char/riscom8.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/char/riscom8.h b/drivers/char/riscom8.h
index 9cc1313d5e67..cdfdf4394477 100644
--- a/drivers/char/riscom8.h
+++ b/drivers/char/riscom8.h
@@ -71,7 +71,6 @@ struct riscom_port {
71 struct tty_struct * tty; 71 struct tty_struct * tty;
72 int count; 72 int count;
73 int blocked_open; 73 int blocked_open;
74 unsigned long event; /* long req'd for set_bit --RR */
75 int timeout; 74 int timeout;
76 int close_delay; 75 int close_delay;
77 unsigned char * xmit_buf; 76 unsigned char * xmit_buf;
@@ -81,8 +80,6 @@ struct riscom_port {
81 int xmit_cnt; 80 int xmit_cnt;
82 wait_queue_head_t open_wait; 81 wait_queue_head_t open_wait;
83 wait_queue_head_t close_wait; 82 wait_queue_head_t close_wait;
84 struct work_struct tqueue;
85 struct work_struct tqueue_hangup;
86 short wakeup_chars; 83 short wakeup_chars;
87 short break_length; 84 short break_length;
88 unsigned short closing_wait; 85 unsigned short closing_wait;