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:
@@ -1130,7 +1130,7 @@ int hif_ce_bus_late_resume(struct hif_softc *scn)
|
|||||||
{
|
{
|
||||||
int ce_id;
|
int ce_id;
|
||||||
struct CE_state *ce_state;
|
struct CE_state *ce_state;
|
||||||
int write_index;
|
int write_index = 0;
|
||||||
bool index_updated;
|
bool index_updated;
|
||||||
|
|
||||||
for (ce_id = 0; ce_id < scn->ce_count; ce_id++) {
|
for (ce_id = 0; ce_id < scn->ce_count; ce_id++) {
|
||||||
|
Reference in New Issue
Block a user