Re: [PATCH 1/1] net/mlx5e: remove unnecessary memset

2020-11-09 Thread Saeed Mahameed
On Sat, 2020-11-07 at 11:54 +0800, Zhu Yanjun wrote: > 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 > --- > .../ethernet/mellanox/mlx5/co

[PATCH 1/1] net/mlx5e: remove unnecessary memset

2020-11-06 Thread Zhu Yanjun
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 --- .../ethernet/mellanox/mlx5/core/eswitch_offloads.c |1 - 1 files changed, 0 insertions(+), 1