Subject: Re: [PATCH] ipv6: remove redundant check

From: Florian Westphal <[email-masked]>
Date: Tue, 20 Aug 2024 13:59:27 +0200

Xi Huang <[email-masked]> wrote:
> 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.

Compiler agrees, those conditionals get removed at compile time.

Reviewed-by: Florian Westphal <[email-masked]>