lkml.org 
[lkml]   [2004]   [Dec]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 0/30] return statement cleanup - kill pointless parentheses
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@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 14:08    [W:0.521 / U:0.220 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site