[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <c62f656c-9c9e-405e-ba5d-739789b4e9d5@kernel.org>
Date: Sat, 6 Jan 2024 09:08:15 -0700
From: David Ahern <dsahern@...nel.org>
To: Zhengchao Shao <shaozhengchao@...wei.com>, netdev@...r.kernel.org,
davem@...emloft.net, edumazet@...gle.com, kuba@...nel.org, pabeni@...hat.com
Cc: weiyongjun1@...wei.com, yuehaibing@...wei.com
Subject: Re: [PATCH net-next] fib: rules: remove repeated assignment in
fib_nl2rule
On 1/4/24 11:56 PM, Zhengchao Shao wrote:
> In fib_nl2rule(), 'err' variable has been set to -EINVAL during
> declaration, and no need to set the 'err' variable to -EINVAL again.
> So, remove it.
>
> Signed-off-by: Zhengchao Shao <shaozhengchao@...wei.com>
> ---
> net/core/fib_rules.c | 1 -
> 1 file changed, 1 deletion(-)
>
Reviewed-by: David Ahern <dsahern@...nel.org>
Powered by blists - more mailing lists