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:
Sarada Prasanna Garnayak 2016-11-04 18:36:19 +05:30 • committed by qcabuildsw
commit 8d9eba1470

View file

@ -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;