qcacmn: Fix compilation issue due to uninitialized variables

After enabling FISA, getting compilation issue in WHUNT due to
-Werror=maybe-uninitialized.

Fix this issue by initializing the uninitialized variables.

Change-Id: I4bdb76ba445630fb09df440f587291f0c3e382ec
CRs-Fixed: 2717632
This commit is contained in:
Alok Kumar
2020-06-24 11:43:43 +05:30
committed by nshrivas
parent 9375922ab2
commit f90dff9449

View File

@@ -469,8 +469,8 @@ hal_rx_insert_flow_entry(struct hal_rx_fst *fst, uint32_t flow_hash,
void *flow_tuple_info, uint32_t *flow_idx)
{
int i;
void *hal_fse;
uint32_t hal_hash;
void *hal_fse = NULL;
uint32_t hal_hash = 0;
struct hal_flow_tuple_info hal_tuple_info = { 0 };
QDF_STATUS status;
@@ -518,8 +518,8 @@ hal_rx_find_flow_from_tuple(struct hal_rx_fst *fst, uint32_t flow_hash,
void *flow_tuple_info, uint32_t *flow_idx)
{
int i;
void *hal_fse;
uint32_t hal_hash;
void *hal_fse = NULL;
uint32_t hal_hash = 0;
struct hal_flow_tuple_info hal_tuple_info = { 0 };
QDF_STATUS status;