提交 5eaa3411 编写于 作者: A Al Viro 提交者: Richard Weinberger

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

looks like a half-arsed duplicate of line->enabled
Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
Signed-off-by: NRichard Weinberger <richard@nod.at>
上级 1f42369c
......@@ -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,
line_write_interrupt, flags,
driver->write_irq_name, data);
line->have_irq = 1;
return err;
}
......
......@@ -56,7 +56,6 @@ struct line {
int sigio;
struct delayed_work task;
const struct line_driver *driver;
int have_irq;
};
extern void line_close(struct tty_struct *tty, struct file * filp);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册