commit | 932058a5d5f9fd919b90aaa2275d54b37340d585 | [log] [tgz] |
---|---|---|
author | Julia Lawall <Julia.Lawall@lip6.fr> | Sat Aug 23 07:34:45 2014 +0200 |
committer | Michal Marek <mmarek@suse.cz> | Fri Sep 26 13:42:31 2014 +0200 |
tree | c23f98f5f4d8fd69401db4092fc067336d944b82 | |
parent | 22739edfc563fa42f02a2f7323fd352061ef32b3 [diff] |
coccinelle: misc: semantic patch to delete overly complex return code processing This semantic patch simplifies cases where the effect of the processing of a function call's return code is just to return the result of the function directly. It may also delete a local return flag variable, if this is no longer used. This was proposed by Uwe Kleine-König. Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr> Signed-off-by: Michal Marek <mmarek@suse.cz>