diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2022-03-07 15:57:36 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-03-07 21:47:46 -0800 |
commit | 8daf4e75fc09d6b0ca8fea0988959c99643aa8a8 (patch) | |
tree | ca475915ff20c294d1272cfc596277f10d75e48d /net/unix/sysctl_net_unix.c | |
parent | 72f00505f2d2eced9789e98ca081f8229f03b2ed (diff) |
vxlan_core: delete unnecessary condition
The previous check handled the "if (!nh)" condition so we know "nh"
is non-NULL here. Delete the check and pull the code in one tab.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Nikolay Aleksandrov <razor@blackwall.org>
Reviewed-by: Roopa Prabhu <roopa@nvidia.com>
Link: https://lore.kernel.org/r/20220307125735.GC16710@kili
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions