mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 00:24:41 -04:00
qcacmn: Fix variable uninitialized compiler error
Initialize revision_id to avoid compiler error as 'variable may be used uninitialized'. Change-Id: Ia76b297e0f0f745284c7d0ede72a55dcc3d0dc65 CRs-Fixed: 2350601
This commit is contained in:
parent
700ad73754
commit
e4599388bd
1 changed files with 1 additions and 1 deletions
|
|
@ -3713,7 +3713,7 @@ QDF_STATUS hif_pci_enable_bus(struct hif_softc *ol_sc,
|
|||
uint32_t hif_type, target_type;
|
||||
struct hif_pci_softc *sc = HIF_GET_PCI_SOFTC(ol_sc);
|
||||
struct hif_opaque_softc *hif_hdl = GET_HIF_OPAQUE_HDL(ol_sc);
|
||||
uint16_t revision_id;
|
||||
uint16_t revision_id = 0;
|
||||
int probe_again = 0;
|
||||
struct pci_dev *pdev = bdev;
|
||||
const struct pci_device_id *id = (const struct pci_device_id *)bid;
|
||||
|
|
|
|||
Loading…
Reference in a new issue