diff options
Diffstat (limited to 'arch/um')
-rw-r--r-- | arch/um/drivers/line.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/um/drivers/line.c b/arch/um/drivers/line.c index cf8a97f34518..64cda95f59ca 100644 --- a/arch/um/drivers/line.c +++ b/arch/um/drivers/line.c | |||
@@ -18,10 +18,10 @@ static irqreturn_t line_interrupt(int irq, void *data) | |||
18 | { | 18 | { |
19 | struct chan *chan = data; | 19 | struct chan *chan = data; |
20 | struct line *line = chan->line; | 20 | struct line *line = chan->line; |
21 | struct tty_struct *tty = line->tty; | 21 | struct tty_struct *tty; |
22 | 22 | ||
23 | if (line) | 23 | if (line) |
24 | chan_interrupt(&line->chan_list, &line->task, tty, irq); | 24 | chan_interrupt(&line->chan_list, &line->task, line->tty, irq); |
25 | return IRQ_HANDLED; | 25 | return IRQ_HANDLED; |
26 | } | 26 | } |
27 | 27 | ||