[PATCH] powerpc: Compile warning in hvcs driver
authorAnton Blanchard <anton@samba.org>
Sat, 25 Mar 2006 06:31:30 +0000 (17:31 +1100)
committerPaul Mackerras <paulus@samba.org>
Mon, 27 Mar 2006 03:48:52 +0000 (14:48 +1100)
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>
drivers/char/hvcs.c

index f7ac318..327b00c 100644 (file)
@@ -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);