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

Skip to content
Commit 3f3217de authored by Roderick Colenbrander's avatar Roderick Colenbrander Committed by Kishor Krishna Bhat
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 this function to return ret.

Bug: 167947264
CRs-fixed: 2971837
Change-Id: Ieeaff4d249a6ee6d02eb4746f9fe502c91c6f40a
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>
Signed-off-by: default avatarFarid Chahla <farid.chahla@sony.com>
Signed-off-by: default avatarSiarhei Vishniakou <svv@google.com>
Git-repo: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git


Git-commit: 5fb52551248f54ddc8f72bc252661468b603cfcc
Signed-off-by: default avatarKishor Krishna Bhat <kishkris@codeaurora.org>
parent 7c1277fc
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