aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorKaixu Xia <[email protected]>2020-11-22 13:49:37 +0800
committerHans de Goede <[email protected]>2020-11-24 13:07:01 +0100
commit5af8be6b0c7e49124cd04ad144d3aae615e3daea (patch)
tree7f39210dfafccb829ca19018ad4e156559b646cb /tools/perf/util/scripting-engines/trace-event-python.c
parentb970b732ff4f0d9c88361a3e5bb239f7822f719b (diff)
platform/x86: toshiba_acpi: Fix the wrong variable assignment
The commit 78429e55e4057 ("platform/x86: toshiba_acpi: Clean up variable declaration") cleans up variable declaration in video_proc_write(). Seems it does the variable assignment in the wrong place, this results in dead code and changes the source code logic. Fix it by doing the assignment at the beginning of the funciton. Fixes: 78429e55e4057 ("platform/x86: toshiba_acpi: Clean up variable declaration") Reported-by: Tosk Robot <[email protected]> Signed-off-by: Kaixu Xia <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Hans de Goede <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions