]> asedeno.scripts.mit.edu Git - linux.git/commit
net/mlx5: DR, Remove useless set memory to zero use memset()
authorWei Yongjun <weiyongjun1@huawei.com>
Thu, 5 Sep 2019 09:53:26 +0000 (09:53 +0000)
committerSaeed Mahameed <saeedm@mellanox.com>
Thu, 5 Sep 2019 21:44:42 +0000 (14:44 -0700)
commitf6a8cddfb50a5d530400f10c435f420b15962800
treee73c999b59b57cc1b78b97809985f43322b07023
parent7f7edefda122b43ab2cd40b5efe43a10fd4a5894
net/mlx5: DR, Remove useless set memory to zero use memset()

The memory return by kzalloc() has already be set to zero, so
remove useless memset(0).

Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/steering/dr_send.c