aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorPeter Senna Tschudin <[email protected]>2014-06-01 18:12:31 +0000
committerMichal Marek <[email protected]>2014-06-10 12:36:30 +0000
commit90829adb4a8ea3b007bd8c63f5b54fddb7972bec (patch)
treee152dd1c1c60a91dd339913ee5f9793fe887f7e2 /tools/perf/scripts/python
parentkbuild: Fix a typo in documentation (diff)
downloadkernel-90829adb4a8ea3b007bd8c63f5b54fddb7972bec.tar.gz
kernel-90829adb4a8ea3b007bd8c63f5b54fddb7972bec.zip
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 <[email protected]> Signed-off-by: Michal Marek <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions