1
0
Fork 0
alistair23-linux/scripts/coccinelle
Peter Senna Tschudin 90829adb4a coccicheck: Add unneeded return variable test
This semantic patch looks for variables that are initialized with a
constant, are never updated, and are only used as parameter of return.
Return the constant instead of using a variable.

Signed-off-by: Peter Senna Tschudin <peter.senna@gmail.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
2014-06-10 14:36:30 +02:00
..
api scripts/coccinelle: Use PTR_ERR_OR_ZERO 2014-04-08 17:27:01 +02:00
free Coccinelle: Update the options used to the new option scheme 2013-07-03 22:58:13 +02: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 coccicheck: Add unneeded return variable test 2014-06-10 14:36:30 +02:00
null Coccinelle: Update the options used to the new option scheme 2013-07-03 22:58:13 +02:00
tests Coccinelle: Update the options used to the new option scheme 2013-07-03 22:58:13 +02:00