Kaynağa Gözat

[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>
Anton Blanchard 19 yıl önce
ebeveyn
işleme
b8c7b976a5
1 değiştirilmiş dosya ile 0 ekleme ve 1 silme
  1. 0 1
      drivers/char/hvcs.c

+ 0 - 1
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);