author | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Sat, 13 May 2017 12:41:48 +0000 (14:41 +0200) | ||
committer | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Sat, 13 May 2017 14:19:02 +0000 (16:19 +0200) | ||
commit | 307c875e5a78a2729fbbe1a588d232e9a129d75a | |
tree | 9d8884c01d022ce7e99981c45c783f9b6889d406 | tree | snapshot |
parent | 57b9e83320b35d4dbd1312db5fbf33ddf8ecd989 | commit | diff |
Remove parentheses around return arguments
They don't do any harm but they are not really needed either.
Contributors are not used to following this style, and reviewers have to
keep pointing it out in reviews. This takes up valuable time for both
the contributor and the reviewer and distracts from the more important
issues.
I used the following Coccinelle patch:
@@
expression e;
@@
- return (e);
+ return e;
spatch is having trouble with some files so I have cleaned up the rest
with a few regexes.
They don't do any harm but they are not really needed either.
Contributors are not used to following this style, and reviewers have to
keep pointing it out in reviews. This takes up valuable time for both
the contributor and the reviewer and distracts from the more important
issues.
I used the following Coccinelle patch:
@@
expression e;
@@
- return (e);
+ return e;
spatch is having trouble with some files so I have cleaned up the rest
with a few regexes.
201 files changed: