]> err.no Git - linux-2.6/commitdiff
[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 f7ac31856572a141b328a5b94ca43035978bcc36..327b00c3c45eafef31aa9254e1e6589f6088295d 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);