summaryrefslogtreecommitdiffstats
path: root/drivers/char/riscom8.h
diff options
context:
space:
mode:
authorJiri Slaby2008-02-07 09:16:41 +0100
committerLinus Torvalds2008-02-07 17:42:34 +0100
commitb98e70de7836cf0ea49b6714b2455381865b1260 (patch)
tree2d738af030c1c2c478f707fbe4a8b7da55c2db2d /drivers/char/riscom8.h
parentChar: serial167, remove bottomhalf (diff)
downloadkernel-qcow2-linux-b98e70de7836cf0ea49b6714b2455381865b1260.tar.gz
kernel-qcow2-linux-b98e70de7836cf0ea49b6714b2455381865b1260.tar.xz
kernel-qcow2-linux-b98e70de7836cf0ea49b6714b2455381865b1260.zip
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 {
struct tty_struct * tty;
int count;
int blocked_open;
- unsigned long event; /* long req'd for set_bit --RR */
int timeout;
int close_delay;
unsigned char * xmit_buf;
@@ -81,8 +80,6 @@ struct riscom_port {
int xmit_cnt;
wait_queue_head_t open_wait;
wait_queue_head_t close_wait;
- struct work_struct tqueue;
- struct work_struct tqueue_hangup;
short wakeup_chars;
short break_length;
unsigned short closing_wait;