[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240820115927.GA19599@breakpoint.cc>
Date: Tue, 20 Aug 2024 13:59:27 +0200
From: Florian Westphal <fw@...len.de>
To: Xi Huang <xuiagnh@...il.com>
Cc: davem@...emloft.net, dsahern@...nel.org, edumazet@...gle.com,
kuba@...nel.org, pabeni@...hat.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] ipv6: remove redundant check
Xi Huang <xuiagnh@...il.com> 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 <fw@...len.de>
Powered by blists - more mailing lists