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:
Gilad Broner <gbroner@codeaurora.org>
Loading
Please register or sign in to comment