Re: [PATCH 0/30] return statement cleanup - kill pointless parentheses

From: Jesper Juhl
Date: Wed Dec 15 2004 - 20:31:48 EST


On Thu, 16 Dec 2004, Pavel Machek wrote:

> Hi!
>
> > Ok, here's the first batch of return statement cleanups (*many* to go).
> >
> > The following patches clean up return statements of the forms
> > return(foo);
> > return ( fn() );
> > return (123);
> > return(a + b);
> > etc. To be instead
> > return foo;
> > return fn();
> > return 123
> > return a + b;
>
> Yes, I like that. Please also go through drivers/acpi -- there's lot
> of annoying parenthesis there ;-).
> Pavel

Sure thing, I'll add that to my must_do list :)
There seems to be very mixed feelings about this, so I think what I'll do
is to pick a few files from different dirs and submit patches for them, if
I then get positive feedback I'll do more in that dir, if not I'll just
leave it.
Thank you for responding.

--
Jesper Juhl

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/