summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRussell King <rmk@flint.arm.linux.org.uk>2003-01-03 12:32:39 +0000
committerRussell King <rmk@flint.arm.linux.org.uk>2003-01-03 12:32:39 +0000
commitb80f8a3a6cdf9791677e768114e730b25588beb4 (patch)
treeac5b47a68e0b47fa3ea08eda765cbfe8f64f7b14
parent8de02ded4fa3c54ba79c54535c593fd28245be23 (diff)
[SERIAL] Remove unused info->event
-rw-r--r--drivers/serial/core.c2
-rw-r--r--include/linux/serial_core.h1
2 files changed, 0 insertions, 3 deletions
diff --git a/drivers/serial/core.c b/drivers/serial/core.c
index 84dfbf42b0db..343ba360d80d 100644
--- a/drivers/serial/core.c
+++ b/drivers/serial/core.c
@@ -1267,7 +1267,6 @@ static void uart_close(struct tty_struct *tty, struct file *filp)
if (tty->ldisc.flush_buffer)
tty->ldisc.flush_buffer(tty);
tty->closing = 0;
- info->event = 0;
info->tty = NULL;
if (info->blocked_open) {
if (info->state->close_delay) {
@@ -1376,7 +1375,6 @@ static void uart_hangup(struct tty_struct *tty)
return;
}
uart_shutdown(info);
- info->event = 0;
state->count = 0;
info->flags &= ~UIF_NORMAL_ACTIVE;
info->tty = NULL;
diff --git a/include/linux/serial_core.h b/include/linux/serial_core.h
index 8c8ea22c9edc..6ec45f3ca113 100644
--- a/include/linux/serial_core.h
+++ b/include/linux/serial_core.h
@@ -242,7 +242,6 @@ struct uart_info {
unsigned char *tmpbuf;
struct semaphore tmpbuf_sem;
- unsigned long event;
int blocked_open;
struct tasklet_struct tlet;