diff options
author | Julia Lawall <Julia.Lawall@lip6.fr> | 2014-08-23 07:34:45 +0200 |
---|---|---|
committer | Michal Marek <mmarek@suse.cz> | 2014-09-26 13:42:31 +0200 |
commit | 932058a5d5f9fd919b90aaa2275d54b37340d585 (patch) | |
tree | c23f98f5f4d8fd69401db4092fc067336d944b82 /mm/util.c | |
parent | 22739edfc563fa42f02a2f7323fd352061ef32b3 (diff) | |
download | op-kernel-dev-932058a5d5f9fd919b90aaa2275d54b37340d585.zip op-kernel-dev-932058a5d5f9fd919b90aaa2275d54b37340d585.tar.gz |
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>
Diffstat (limited to 'mm/util.c')
0 files changed, 0 insertions, 0 deletions