diff options
author | Kaixu Xia <[email protected]> | 2020-11-22 13:49:37 +0800 |
---|---|---|
committer | Hans de Goede <[email protected]> | 2020-11-26 15:48:46 +0100 |
commit | 2a72c46ac4d665614faa25e267c3fb27fb729ed7 (patch) | |
tree | b6f72924eddb0fad873dc82d8fd5bfc9c031b7ba /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 9e7a005ad56aa7d6ea5830c5ffcc60bf35de380b (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/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions