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

Skip to content
Commit 7006b9ba authored by Gilad Broner's avatar Gilad Broner
Browse files

msm: usb_bam: make usb_bam_sps_type.usb_props a local variable



usb_bam_sps_type.usb_props is used only inside usb_bam_init().
Since this function is called several times usb_props values get
overriden each time. Making usb_props a local variable will prevent
potential bugs in the future in case usb_props is referenced elsewhere.

Change-Id: I4c51fb751dc92b6623fbb20028a5d87a1c8c93bf
Signed-off-by: default avatarGilad Broner <gbroner@codeaurora.org>
parent 7dd146b7
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