lkml.org 
[lkml]   [2002]   [May]   [11]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateFri, 10 May 2002 21:36:30 -0700
FromWilliam Lee Irwin III <>
SubjectRe: [PATCH] 2.5.15 : drivers/block/paride/pcd.c minor unused var patch
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/

\
 
 \ /
  Last update: 2005-03-22 13:26    [from the cache]
©2003-2008