diff options
author | Johan Hovold <johan@kernel.org> | 2015-09-30 18:37:27 -0400 |
---|---|---|
committer | Michal Marek <mmarek@suse.com> | 2015-10-26 22:10:01 +0100 |
commit | 1a617a8475e8509255cc77f88c148095f4cc05ba (patch) | |
tree | 804b6ed6c20b8ae52defe2c8d93397dba22dda11 /scripts/gcc-version.sh | |
parent | 5b169108571e0ada22f9b9f5448a2e4fefb5faa6 (diff) | |
download | lwn-1a617a8475e8509255cc77f88c148095f4cc05ba.tar.gz lwn-1a617a8475e8509255cc77f88c148095f4cc05ba.zip |
coccinelle: misc: remove "complex return code" warnings
This effectively reverts 932058a5d5f9 ("coccinelle: misc: semantic patch
to delete overly complex return code processing").
There can be both symmetry and readability reasons for not wanting to do
the final function call as part of the return statement and to maintain
a clear separation of success and error paths.
Since this is in no way mandated by the coding standard, let's just
remove this semantic patch to avoid having "clean up" patches being
posted over and over in response to these Coccinelle warnings.
Signed-off-by: Johan Hovold <johan@kernel.org>
Acked-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'scripts/gcc-version.sh')
0 files changed, 0 insertions, 0 deletions