summaryrefslogtreecommitdiff
path: root/drivers/perf
diff options
context:
space:
mode:
authorBhaktipriya Shridhar <bhaktipriya96@gmail.com>2016-02-25 11:54:17 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-03-12 06:09:09 (GMT)
commitdd28473385e78f94456fc66bd05c9d6db3febe13 (patch)
tree43cd3f4f23ebf6238cb3037aae86a0a9aa0d2850 /drivers/perf
parentc1586b52ee509658265e44dc2395635edee3848a (diff)
downloadlinux-dd28473385e78f94456fc66bd05c9d6db3febe13.tar.xz
staging: android: ion: hisilicon: Remove useless return variables
This patch removes unnecessary return variables and compresses the return logic. The coccinelle script that finds and fixes this issue is: @@ type T; identifier i,f; constant C; @@ - T i; ...when != i when strict ( return -C; | - i = + return f(...); - return i; ) Signed-off-by: Bhaktipriya Shridhar <bhaktipriya96@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/perf')
0 files changed, 0 insertions, 0 deletions