net/mlx5e: remove unnecessary memset
authorZhu Yanjun <yanjunz@nvidia.com>
Tue, 1 Dec 2020 22:42:03 +0000 (14:42 -0800)
committerSaeed Mahameed <saeedm@nvidia.com>
Tue, 8 Dec 2020 19:28:47 +0000 (11:28 -0800)
commitade84367fbd56724c66117256f0fd51a53202a26
tree0ec003ba03b3490c36284793bf9dd65e8a89a903
parent1880bc4e4a96691bfccd1882115af4e5431b4c7a
net/mlx5e: remove unnecessary memset

Since kvzalloc will initialize the allocated memory, it is not
necessary to initialize it once again.

Fixes: 11b717d61526 ("net/mlx5: E-Switch, Get reg_c0 value on CQE")
Signed-off-by: Zhu Yanjun <yanjunz@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c