summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorMahati Chamarthy <mahati.chamarthy@gmail.com>2014-09-23 21:13:36 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-09-23 20:32:43 -0700
commitd8e186cebc94ac06682364b9931f38809ce7b1b5 (patch)
tree462e662b00acfb9fddbe09c67fdd0eabbfc661a4 /tools/perf/scripts/python/syscall-counts.py
parentbfcc6be5bcf3f17a98765df5aa69d59ccf87a1bd (diff)
Staging: rtl8192e: rtl8192e: Merge two lines and remove unused variable
This patch merges an assignment with an immediately following return of the assigned variable. It also removes variables that became unused due to this transformation. The following Coccinelle semantic patch was used to make this transformation: @r@ identifier ret; identifier f; @@ -ret = +return f(...); -return ret; @@ identifier r.ret; expression e1; type t; @@ ( -t ret = e1; | -t ret; ) ... when != ret when strict Signed-off-by: Mahati Chamarthy <mahati.chamarthy@gmail.com> Acked-by: Julia Lawall <julia.lawall@lip6.fr> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions