[PATCH]: powerpc janitorial: remove lint warning message

Paul Mackerras paulus at samba.org
Tue Jan 10 16:14:50 EST 2006


linas writes:

> Remove annoying compile-time warning.
> 
> Signed-off-by: Linas Vepstas <linas at austin.ibm.com>
> 
> Index: linux-2.6.15-mm1/drivers/char/hvcs.c
> ===================================================================
> --- linux-2.6.15-mm1.orig/drivers/char/hvcs.c	2006-01-05 16:44:04.000000000 -0600
> +++ linux-2.6.15-mm1/drivers/char/hvcs.c	2006-01-09 16:17:36.454497065 -0600
> @@ -438,7 +438,6 @@
>  	char buf[HVCS_BUFF_LEN] __ALIGNED__;
>  	unsigned long flags;
>  	int got = 0;
> -	int i;

AFAICS the i variable is used on line 463...

Paul.



More information about the Linuxppc64-dev mailing list