mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 08:07:32 -04:00
qcacmn: Fix compilation error for msmcobalt_32
In hnc_link_clusters function, few local variables left uninitialized. Initialize them with zero as they will get overwritten during the processing of the cluster for first time. CRs-Fixed: 1085510 Change-Id: I04af509bdc1a63eeb215c5ec854b55a8bc45aba9
This commit is contained in:
parent
5ce8af883b
commit
8d9eba1470
1 changed files with 3 additions and 3 deletions
|
|
@ -858,12 +858,12 @@ static int hnc_link_clusters(struct qca_napi_data *napid)
|
|||
int i;
|
||||
int it = 0;
|
||||
uint32_t cl_done = 0x0;
|
||||
int cl, curcl, curclhead;
|
||||
int cl, curcl, curclhead = 0;
|
||||
int more;
|
||||
unsigned int lilfrq = INT_MAX;
|
||||
unsigned int bigfrq = 0;
|
||||
unsigned int clfrq;
|
||||
int prev;
|
||||
unsigned int clfrq = 0;
|
||||
int prev = 0;
|
||||
struct qca_napi_cpu *cpus = napid->napi_cpu;
|
||||
|
||||
napid->lilcl_head = napid->bigcl_head = -1;
|
||||
|
|
|
|||
Loading…
Reference in a new issue