summaryrefslogtreecommitdiffstats
path: root/arch/um
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@web.de>2010-04-19 23:53:04 +0200
committerJiri Kosina <jkosina@suse.cz>2010-04-20 16:31:34 +0200
commit1896950b6138a2a82771780d4dbd5a5d940d4739 (patch)
tree4f56535b3c0f6ad26ff51ba74b9185bbfaf46eb5 /arch/um
parentab4364d31f14ae5ab95bafba5b33f5d35b25ca41 (diff)
UML: Remove unused variable from line driver
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>
Diffstat (limited to 'arch/um')
-rw-r--r--arch/um/drivers/line.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/um/drivers/line.c b/arch/um/drivers/line.c
index 64cda95f59c..74874ed0837 100644
--- a/arch/um/drivers/line.c
+++ b/arch/um/drivers/line.c
@@ -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);