lkml.org 
[lkml]   [2002]   [May]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
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    [W:0.183 / U:0.060 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site