From: Anton Blanchard Date: Sat, 25 Mar 2006 06:31:30 +0000 (+1100) Subject: [PATCH] powerpc: Compile warning in hvcs driver X-Git-Tag: v2.6.17-rc1~165^2~41 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b8c7b976a570aede21327e7d64781801e1641606;p=linux-2.6 [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 Signed-off-by: Paul Mackerras --- diff --git a/drivers/char/hvcs.c b/drivers/char/hvcs.c index f7ac318565..327b00c3c4 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);