From e00767ee04c179f452840a9801af466b10257194 Mon Sep 17 00:00:00 2001 From: Viacheslav Ovsiienko Date: Tue, 23 Oct 2018 10:04:15 +0000 Subject: [PATCH] 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 --- drivers/net/mlx5/mlx5_flow_tcf.c | 5 ----- 1 file changed, 5 deletions(-) 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) { -- 2.20.1