diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2011-09-10 02:20:52 +0200 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2012-03-25 00:29:54 +0100 |
commit | 5eaa3411a80fe50b3a0333389e0e259c580869e9 (patch) | |
tree | 40d0e9edcdd544002e35534cf0ce34da900bda2c /arch/um/drivers/line.c | |
parent | um: chan_init_pri is dead now (diff) | |
download | linux-5eaa3411a80fe50b3a0333389e0e259c580869e9.tar.xz linux-5eaa3411a80fe50b3a0333389e0e259c580869e9.zip |
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/drivers/line.c')
-rw-r--r-- | arch/um/drivers/line.c | 1 |
1 files changed, 0 insertions, 1 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) 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; } |