aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorEli Cohen <eli@mellanox.com>2019-10-31 09:12:18 +0200
committerSaeed Mahameed <saeedm@mellanox.com>2019-11-22 13:18:20 -0800
commit90ac245814abc30d2423474310654d31e3908b2f (patch)
tree25dbac736bc3b1ccc68e805bd88645c1f346231c /include
parentnet/mlx5e: TC, Stub out ipv6 tun create header function (diff)
downloadlinux-dev-90ac245814abc30d2423474310654d31e3908b2f.tar.xz
linux-dev-90ac245814abc30d2423474310654d31e3908b2f.zip
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>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions