aboutsummaryrefslogtreecommitdiffstats
path: root/arch/um
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2011-09-09 20:20:52 -0400
committerRichard Weinberger <richard@nod.at>2012-03-24 19:29:54 -0400
commit5eaa3411a80fe50b3a0333389e0e259c580869e9 (patch)
tree40d0e9edcdd544002e35534cf0ce34da900bda2c /arch/um
parent1f42369cfc2ea9dcd2b443f80060048e4683d7ad (diff)
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>
Diffstat (limited to 'arch/um')
-rw-r--r--arch/um/drivers/line.c1
-rw-r--r--arch/um/drivers/line.h1
2 files changed, 0 insertions, 2 deletions
diff --git a/arch/um/drivers/line.c b/arch/um/drivers/line.c
index c1aa89cefaec..08f63930da8b 100644
--- a/arch/um/drivers/line.c
+++ b/arch/um/drivers/line.c
@@ -383,7 +383,6 @@ int line_setup_irq(int fd, int input, int output, struct line *line, void *data)
383 err = um_request_irq(driver->write_irq, fd, IRQ_WRITE, 383 err = um_request_irq(driver->write_irq, fd, IRQ_WRITE,
384 line_write_interrupt, flags, 384 line_write_interrupt, flags,
385 driver->write_irq_name, data); 385 driver->write_irq_name, data);
386 line->have_irq = 1;
387 return err; 386 return err;
388} 387}
389 388
diff --git a/arch/um/drivers/line.h b/arch/um/drivers/line.h
index 6cb05a22e9b0..0a1834719dba 100644
--- a/arch/um/drivers/line.h
+++ b/arch/um/drivers/line.h
@@ -56,7 +56,6 @@ struct line {
56 int sigio; 56 int sigio;
57 struct delayed_work task; 57 struct delayed_work task;
58 const struct line_driver *driver; 58 const struct line_driver *driver;
59 int have_irq;
60}; 59};
61 60
62extern void line_close(struct tty_struct *tty, struct file * filp); 61extern void line_close(struct tty_struct *tty, struct file * filp);