Skip to contentSkip to conversation

powerpc: Compile warning in hvcs driver

PATCH New Anton Blanchard 1 participant 1 message Mar 25, 2006 Char and misc drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 powerpc: Compile warning in hvcs driver

We ended up with an unused variable after the tty updates went in. Fix it.

---

drivers/char/hvcs.c +0 -1
Index: build/drivers/char/hvcs.c
===================================================================
@@ -439,7 +439,6 @@ static int hvcs_io(struct hvcs_struct *h
 	char buf[HVCS_BUFF_LEN] __ALIGNED__;
 	unsigned long flags;
 	int got = 0;
-	int i;
 
 	spin_lock_irqsave(&hvcsd->lock, flags);