summaryrefslogtreecommitdiff
path: root/drivers/char/hvcs.c
diff options
context:
space:
mode:
authorAnton Blanchard <anton@samba.org>2006-03-25 17:31:30 +1100
committerPaul Mackerras <paulus@samba.org>2006-03-27 14:48:52 +1100
commitb8c7b976a570aede21327e7d64781801e1641606 (patch)
treee9c028187448dbe77bd36685a591b1f6d3c1274b /drivers/char/hvcs.c
parentc258dd40ab8851c41873516ef90125e3bcd2e3e1 (diff)
downloadlinux-3.10-b8c7b976a570aede21327e7d64781801e1641606.tar.gz
linux-3.10-b8c7b976a570aede21327e7d64781801e1641606.tar.bz2
linux-3.10-b8c7b976a570aede21327e7d64781801e1641606.zip
[PATCH] powerpc: Compile warning in hvcs driver
We ended up with an unused variable after the tty updates went in. Fix it. Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'drivers/char/hvcs.c')
-rw-r--r--drivers/char/hvcs.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/char/hvcs.c b/drivers/char/hvcs.c
index f7ac3185657..327b00c3c45 100644
--- a/drivers/char/hvcs.c
+++ b/drivers/char/hvcs.c
@@ -439,7 +439,6 @@ static int hvcs_io(struct hvcs_struct *hvcsd)
char buf[HVCS_BUFF_LEN] __ALIGNED__;
unsigned long flags;
int got = 0;
- int i;
spin_lock_irqsave(&hvcsd->lock, flags);