Commit 5eaa3411 authored by Al Viro's avatar Al Viro Committed by Richard Weinberger

um: line->have_irq is never checked...

looks like a half-arsed duplicate of line->enabled
Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
Signed-off-by: default avatarRichard Weinberger <richard@nod.at>
parent 1f42369c
...@@ -383,7 +383,6 @@ int line_setup_irq(int fd, int input, int output, struct line *line, void *data) ...@@ -383,7 +383,6 @@ int line_setup_irq(int fd, int input, int output, struct line *line, void *data)
err = um_request_irq(driver->write_irq, fd, IRQ_WRITE, err = um_request_irq(driver->write_irq, fd, IRQ_WRITE,
line_write_interrupt, flags, line_write_interrupt, flags,
driver->write_irq_name, data); driver->write_irq_name, data);
line->have_irq = 1;
return err; return err;
} }
......
...@@ -56,7 +56,6 @@ struct line { ...@@ -56,7 +56,6 @@ struct line {
int sigio; int sigio;
struct delayed_work task; struct delayed_work task;
const struct line_driver *driver; const struct line_driver *driver;
int have_irq;
}; };
extern void line_close(struct tty_struct *tty, struct file * filp); extern void line_close(struct tty_struct *tty, struct file * filp);
......
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