[PATCH 2/2] Remove unnecessary parentheses around return values in functions

Jamey Sharp jamey at minilop.net
Mon Jun 7 09:04:36 PDT 2010


On Sun, Jun 6, 2010 at 7:18 AM, Mikhail Gusarov <dottedmag at dottedmag.net> wrote:
> This patch was generated by the following Perl code:
>
> perl -i -pe 's/([^_])return\s*\(\s*([^(]+?)\s*\)s*;(\s+(\n))?/$1return $2;$4/g;'
>
> Signed-off-by: Mikhail Gusarov <dottedmag at dottedmag.net>

Thank goodness! That was bugging me.

Reviewed-by: Jamey Sharp <jamey at minilop.net>


More information about the xorg-devel mailing list