forked from Minki/linux
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:
parent
1f42369cfc
commit
5eaa3411a8
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user