Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8e0061c2 authored by Roderick Colenbrander's avatar Roderick Colenbrander Committed by Todd Kjos
Browse files

UPSTREAM: 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: default avatarkernel test robot <lkp@intel.com>
Signed-off-by: default avatarRoderick Colenbrander <roderick.colenbrander@sony.com>
Signed-off-by: default avatarBenjamin Tissoires <benjamin.tissoires@redhat.com>

Bug: 167947264
Change-Id: Ieeaff4d249a6ee6d02eb4746f9fe502c91c6f40a
(cherry picked from commit 5fb52551248f54ddc8f72bc252661468b603cfcc)
Signed-off-by: default avatarFarid Chahla <farid.chahla@sony.com>
parent 6c0bf9e6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment