* [PATCH] 2.5.15 : drivers/block/paride/pcd.c minor unused var patch
@ 2002-05-11 4:22 Frank Davis
2002-05-11 4:36 ` William Lee Irwin III
0 siblings, 1 reply; 3+ messages in thread
From: Frank Davis @ 2002-05-11 4:22 UTC (permalink / raw)
To: linux-kernel; +Cc: fdavis
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;
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] 2.5.15 : drivers/block/paride/pcd.c minor unused var patch
2002-05-11 4:22 [PATCH] 2.5.15 : drivers/block/paride/pcd.c minor unused var patch Frank Davis
@ 2002-05-11 4:36 ` William Lee Irwin III
2002-05-11 4:39 ` William Lee Irwin III
0 siblings, 1 reply; 3+ messages in thread
From: William Lee Irwin III @ 2002-05-11 4:36 UTC (permalink / raw)
To: Frank Davis; +Cc: linux-kernel
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] 2.5.15 : drivers/block/paride/pcd.c minor unused var patch
2002-05-11 4:36 ` William Lee Irwin III
@ 2002-05-11 4:39 ` William Lee Irwin III
0 siblings, 0 replies; 3+ messages in thread
From: William Lee Irwin III @ 2002-05-11 4:39 UTC (permalink / raw)
To: Frank Davis, linux-kernel
> 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).
> >
On Fri, May 10, 2002 at 09:36:30PM -0700, William Lee Irwin III wrote:
> both unit and i are unused and there's a bit of style breakage to fix.
woops, missed ^W's, unit is used later.
Cheers,
Bill
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-05-11 4:40 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-05-11 4:22 [PATCH] 2.5.15 : drivers/block/paride/pcd.c minor unused var patch Frank Davis
2002-05-11 4:36 ` William Lee Irwin III
2002-05-11 4:39 ` William Lee Irwin III
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox