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)
commite6014afd1c5717d556778ec1307cf7ab27ba5a2d
tree6a5e511dbd482d0b38ec6a61d41eea772f524a01
parenta7cba0a4d508d2d78f2932ee944feadd38c97c2c
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