2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-18 18:23:53 +08:00

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

looks like a half-arsed duplicate of line->enabled

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Richard Weinberger <richard@nod.at>
This commit is contained in:
Al Viro 2011-09-09 20:20:52 -04:00 committed by Richard Weinberger
parent 1f42369cfc
commit 5eaa3411a8
2 changed files with 0 additions and 2 deletions

View File

@ -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;
}

View File

@ -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);