[PATCH] powerpc: Compile warning in hvcs driver

Anton Blanchard anton at samba.org
Sat Mar 25 17:31:30 EST 2006


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

Signed-off-by: Anton Blanchard <anton at samba.org>
---

Index: build/drivers/char/hvcs.c
===================================================================
--- build.orig/drivers/char/hvcs.c	2006-03-25 16:26:57.000000000 +1100
+++ build/drivers/char/hvcs.c	2006-03-25 16:27:10.000000000 +1100
@@ -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);
 



More information about the Linuxppc-dev mailing list