summaryrefslogtreecommitdiffstats
path: root/drivers/char
diff options
context:
space:
mode:
authorAnton Blanchard <anton@samba.org>2006-03-25 07:31:30 +0100
committerPaul Mackerras <paulus@samba.org>2006-03-27 05:48:52 +0200
commitb8c7b976a570aede21327e7d64781801e1641606 (patch)
treee9c028187448dbe77bd36685a591b1f6d3c1274b /drivers/char
parent[PATCH] powerpc: Consistent printing of node id (diff)
downloadlinux-b8c7b976a570aede21327e7d64781801e1641606.tar.xz
linux-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')
-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 f7ac31856572..327b00c3c45e 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);