summaryrefslogtreecommitdiff
path: root/scripts/coccinelle/null
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2015-10-01 01:37:27 +0300
committerMichal Marek <mmarek@suse.com>2015-10-27 00:10:01 +0300
commit1a617a8475e8509255cc77f88c148095f4cc05ba (patch)
tree804b6ed6c20b8ae52defe2c8d93397dba22dda11 /scripts/coccinelle/null
parent5b169108571e0ada22f9b9f5448a2e4fefb5faa6 (diff)
downloadlinux-1a617a8475e8509255cc77f88c148095f4cc05ba.tar.xz
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/coccinelle/null')
0 files changed, 0 insertions, 0 deletions