Commit b80f8a3a authored by Russell King's avatar Russell King

[SERIAL] Remove unused info->event

parent 8de02ded
...@@ -1267,7 +1267,6 @@ static void uart_close(struct tty_struct *tty, struct file *filp) ...@@ -1267,7 +1267,6 @@ static void uart_close(struct tty_struct *tty, struct file *filp)
if (tty->ldisc.flush_buffer) if (tty->ldisc.flush_buffer)
tty->ldisc.flush_buffer(tty); tty->ldisc.flush_buffer(tty);
tty->closing = 0; tty->closing = 0;
info->event = 0;
info->tty = NULL; info->tty = NULL;
if (info->blocked_open) { if (info->blocked_open) {
if (info->state->close_delay) { if (info->state->close_delay) {
...@@ -1376,7 +1375,6 @@ static void uart_hangup(struct tty_struct *tty) ...@@ -1376,7 +1375,6 @@ static void uart_hangup(struct tty_struct *tty)
return; return;
} }
uart_shutdown(info); uart_shutdown(info);
info->event = 0;
state->count = 0; state->count = 0;
info->flags &= ~UIF_NORMAL_ACTIVE; info->flags &= ~UIF_NORMAL_ACTIVE;
info->tty = NULL; info->tty = NULL;
......
...@@ -242,7 +242,6 @@ struct uart_info { ...@@ -242,7 +242,6 @@ struct uart_info {
unsigned char *tmpbuf; unsigned char *tmpbuf;
struct semaphore tmpbuf_sem; struct semaphore tmpbuf_sem;
unsigned long event;
int blocked_open; int blocked_open;
struct tasklet_struct tlet; struct tasklet_struct tlet;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment