File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
drivers/net/ethernet/marvell/octeontx2/nic Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -841,7 +841,7 @@ static int otx2_tc_update_mcam_table_del_req(struct otx2_nic *nic,
841
841
struct list_head * pos , * n ;
842
842
struct otx2_tc_flow * tmp ;
843
843
int i = 0 , index = 0 ;
844
- u16 cntr_val ;
844
+ u16 cntr_val = 0 ;
845
845
846
846
/* Find and delete the entry from the list and re-install
847
847
* all the entries from beginning to the index of the
@@ -880,7 +880,7 @@ static int otx2_tc_update_mcam_table_add_req(struct otx2_nic *nic,
880
880
int mcam_idx = flow_cfg -> max_flows - flow_cfg -> nr_flows - 1 ;
881
881
struct otx2_tc_flow * tmp ;
882
882
int list_idx , i ;
883
- u16 cntr_val ;
883
+ u16 cntr_val = 0 ;
884
884
885
885
/* Find the index of the entry(list_idx) whose priority
886
886
* is greater than the new entry and re-install all
You can’t perform that action at this time.
0 commit comments