Commit d35a3a8f authored by Xi Huang's avatar Xi Huang Committed by Jakub Kicinski
Browse files

ipv6: remove redundant check



err varibale will be set everytime,like -ENOBUFS and in if (err < 0),
 when code gets into this path. This check will just slowdown
the execution and that's all.

Signed-off-by: default avatarXi Huang <xuiagnh@gmail.com>
Reviewed-by: default avatarFlorian Westphal <fw@strlen.de>
Link: https://patch.msgid.link/20240820115442.49366-1-xuiagnh@gmail.com


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 2d86ecb6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment