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 <viacheslavo@mellanox.com>
This commit is contained in:
Viacheslav Ovsiienko 2018-10-23 10:04:15 +00:00 committed by Ferruh Yigit
parent 3b2c0bbc52
commit e00767ee04

View File

@ -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) {