]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: Remove redundant NULL initializations
authorEli Cohen <eli@mellanox.com>
Wed, 30 Oct 2019 14:48:15 +0000 (16:48 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Wed, 13 Nov 2019 22:25:03 +0000 (14:25 -0800)
commitcb9e732f21d89325f114a39fdeefeac3e990004b
tree6a5e511dbd482d0b38ec6a61d41eea772f524a01
parentd09014f87471923def48cc89c71b96a38760de9d
net/mlx5: Remove redundant NULL initializations

Neighbour initializations to NULL are not necessary as the pointers are
not used if an error is returned, and if success returned, pointers are
initialized.

Signed-off-by: Eli Cohen <eli@mellanox.com>
Reviewed-by: Vlad Buslov <vladbu@mellanox.com>
Reviewed-by: Roi Dayan <roid@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun.c