summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorGeorgiana Chelu <georgiana.chelu93@gmail.com>2017-10-17 23:22:08 +0300
committerAlex Deucher <alexander.deucher@amd.com>2017-10-19 22:27:22 +0300
commitc1537c342086ff7cf064d274db0c03f6698f77d8 (patch)
tree9d2d1f01bd182b89ef294fa6e5b65e3df11a6692 /tools/perf/scripts/python
parentbada22d021135374332bc7de59c93761778d7989 (diff)
downloadlinux-c1537c342086ff7cf064d274db0c03f6698f77d8.tar.xz
drm/amd/powerplay: Remove useless variable
The result variable is initialized at the beginning of the function, but its value does not change during the function execution. Thus, remove the variable and return the SUCCESS value, which is 0. Issue found by coccinelle script: * Unneeded variable: "result". Return "0" Path to the cocci script: scripts/coccinelle/misc/returnvar.cocci Signed-off-by: Georgiana Chelu <georgiana.chelu93@gmail.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions