Skip to content

Commit

Permalink
um: line->have_irq is never checked...
Browse files Browse the repository at this point in the history
looks like a half-arsed duplicate of line->enabled

Signed-off-by: Al Viro <[email protected]>
Signed-off-by: Richard Weinberger <[email protected]>
  • Loading branch information
Al Viro authored and richardweinberger committed Mar 24, 2012
1 parent 1f42369 commit 5eaa341
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion arch/um/drivers/line.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down
1 change: 0 additions & 1 deletion arch/um/drivers/line.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 5eaa341

Please sign in to comment.