From: Viacheslav Ovsiienko Date: Tue, 23 Oct 2018 10:04:15 +0000 (+0000) Subject: net/mlx5: remove unnecessary structure initializers X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=e00767ee04c179f452840a9801af466b10257194;p=dpdk.git net/mlx5: remove unnecessary structure initializers The unnecessary structure filed initializers to zero are removed. We need to do this minor preparation before the following mlx5 counter structure modification. Signed-off-by: Viacheslav Ovsiienko --- diff --git a/drivers/net/mlx5/mlx5_flow_tcf.c b/drivers/net/mlx5/mlx5_flow_tcf.c index 05ffbd3114..dca9f71aa2 100644 --- a/drivers/net/mlx5/mlx5_flow_tcf.c +++ b/drivers/net/mlx5/mlx5_flow_tcf.c @@ -399,11 +399,6 @@ flow_tcf_counter_new(void) */ struct mlx5_flow_counter tmpl = { .ref_cnt = 1, - .shared = 0, - .id = 0, - .cs = NULL, - .hits = 0, - .bytes = 0, }; cnt = rte_calloc(__func__, 1, sizeof(*cnt), 0); if (!cnt) {