Skip to content
Commit 3b3ccf9e authored by Yue Haibing's avatar Yue Haibing Committed by Jakub Kicinski
Browse files

net: Remove unnecessary NULL check for lwtunnel_fill_encap()



lwtunnel_fill_encap() has NULL check and return 0, so no need
to check before call it.

Signed-off-by: default avatarYue Haibing <yuehaibing@huawei.com>
Reviewed-by: default avatarKuniyuki Iwashima <kuniyu@google.com>
Link: https://patch.msgid.link/20250624140015.3929241-1-yuehaibing@huawei.com


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 2855e43c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment