linux-stable/scripts/coccinelle
Johan Hovold 1a617a8475 coccinelle: misc: remove "complex return code" warnings
This effectively reverts 932058a5d5 ("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>
2015-10-26 22:10:01 +01:00
..
api Merge branch 'akpm' (patches from Andrew) 2015-09-08 17:52:23 -07:00
free scripts/coccinelle/free/ifnullfree.cocci: add copyright information 2014-08-08 15:57:27 -07:00
iterators Coccinelle: Update the options used to the new option scheme 2013-07-03 22:58:13 +02:00
locks Coccinelle: Update the options used to the new option scheme 2013-07-03 22:58:13 +02:00
misc coccinelle: misc: remove "complex return code" warnings 2015-10-26 22:10:01 +01:00
null coccinelle/null: solve parse error 2014-08-06 12:10:17 +02:00
tests coccinelle: tests: improve odd_ptr_err.cocci 2015-10-26 20:54:28 +01:00