OSDN Git Service

UML: Remove unused variable from line driver
authorJan Kiszka <jan.kiszka@web.de>
Mon, 19 Apr 2010 21:53:04 +0000 (23:53 +0200)
committerJiri Kosina <jkosina@suse.cz>
Tue, 20 Apr 2010 14:31:34 +0000 (16:31 +0200)
Signed-off-by: Jan Kiszka <jan.kiszka@web.de>
Acked-by: WANG Cong <xiyou.wangcong@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
arch/um/drivers/line.c

index 64cda95..74874ed 100644 (file)
@@ -18,7 +18,6 @@ static irqreturn_t line_interrupt(int irq, void *data)
 {
        struct chan *chan = data;
        struct line *line = chan->line;
-       struct tty_struct *tty;
 
        if (line)
                chan_interrupt(&line->chan_list, &line->task, line->tty, irq);