qcacmn: Fix compilation error due to uninitialized variable

Fix compilation error due to uninitialized variable(write_index)
in hif_ce_bus_late_resume function.

Change-Id: Ia69e56cf74f2970dd0c047740d6499bb5ce07563
CRs-Fixed: 2317219
This commit is contained in:
Nirav Shah
2018-09-11 13:50:08 +05:30
committed by nshrivas
parent ff4f2d20fb
commit eeb9962b24

View File

@@ -1130,7 +1130,7 @@ int hif_ce_bus_late_resume(struct hif_softc *scn)
{
int ce_id;
struct CE_state *ce_state;
int write_index;
int write_index = 0;
bool index_updated;
for (ce_id = 0; ce_id < scn->ce_count; ce_id++) {