commit | 90ac245814abc30d2423474310654d31e3908b2f | [log] [tgz] |
---|---|---|
author | Eli Cohen <eli@mellanox.com> | Thu Oct 31 09:12:18 2019 +0200 |
committer | Saeed Mahameed <saeedm@mellanox.com> | Fri Nov 22 13:18:20 2019 -0800 |
tree | 25dbac736bc3b1ccc68e805bd88645c1f346231c | |
parent | e689e998e102100bdf7991763d4c244704846f2d [diff] |
net/mlx5e: Remove redundant pointer check When code reaches the "out" label, n is guaranteed to be valid so we can unconditionally call neigh_release. Also change the label to release_neigh to better reflect the fact that we unconditionally free the neighbour and also match other labels convention. Signed-off-by: Eli Cohen <eli@mellanox.com> Reviewed-by: Roi Dayan <roid@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>