From: Anton Blanchard Date: Sat, 25 Mar 2006 06:31:30 +0000 (+1100) Subject: [PATCH] powerpc: Compile warning in hvcs driver X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b8c7b976a570aede21327e7d64781801e1641606;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git [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 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);