diff options
author | 2021-02-11 22:41:00 -0800 | |
---|---|---|
committer | 2021-02-17 18:34:55 +0100 | |
commit | 5fb52551248f54ddc8f72bc252661468b603cfcc (patch) | |
tree | 7ad0a3f47e6ab2ab786cf7a27cee29f1ad8c7c07 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | HID: playstation: report DualSense hardware and firmware version. (diff) | |
download | wireguard-linux-5fb52551248f54ddc8f72bc252661468b603cfcc.tar.xz wireguard-linux-5fb52551248f54ddc8f72bc252661468b603cfcc.zip |
HID: playstation: fix unused variable in ps_battery_get_property.
The ret variable in ps_battery_get_property is set in an error path,
but never actually returned. Change the function to return ret.
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Roderick Colenbrander <roderick.colenbrander@sony.com>
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions