Re: [PATCH] 2.5.15 : drivers/block/paride/pcd.c minor unused var patch
William Lee Irwin III (wli@holomorphy.com)
Fri, 10 May 2002 21:36:30 -0700
On Sat, May 11, 2002 at 12:22:01AM -0400, Frank Davis wrote:
> Hello all,
>   The following just removes an unused varible (Didn't see this posted 
> yet). 
> 
> Regards,
> Frank 
> 
> --- drivers/block/paride/pcd.c.old	Sat May  4 12:23:09 2002
> +++ drivers/block/paride/pcd.c	Sat May 11 00:15:10 2002
> @@ -330,7 +330,7 @@
>  
>  int pcd_init (void)	/* preliminary initialisation */
>  
> -{       int 	i, unit;
> +{       int unit;
>  
>  	if (disable) return -1;
Any chance you could do something like 
int pcd_init(void) /* preliminary initialization */
{
	int unit;
	if (disable)
		return -1;
...
both unit and i are unused and there's a bit of style breakage to fix.
Cheers,
Bill
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/