aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorGeert Uytterhoeven <[email protected]>2012-10-04 17:12:16 -0700
committerLinus Torvalds <[email protected]>2012-10-06 03:04:46 +0900
commit87be8932ae55da702411328c1438e29905ced40a (patch)
treedb6989ffd6d68cf25ae3e1e87b941776055cd057 /tools/perf/scripts/python/bin
parent8f243af42adef5f589b8e39656284ca9c9374e44 (diff)
frv: kill used but uninitialized variable
Commit 6afe1a1fe8ff ("PM: Remove legacy PM") removed the initialization of retval, causing: arch/frv/kernel/pm.c: In function 'sysctl_pm_do_suspend': arch/frv/kernel/pm.c:165:5: warning: 'retval' may be used uninitialized in this function [-Wuninitialized] Remove the variable completely to fix this, and convert to a proper switch (...) { ... } construct to improve readability. Signed-off-by: Geert Uytterhoeven <[email protected]> Cc: David Howells <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions