[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240105213902.GC31813@kernel.org>
Date: Fri, 5 Jan 2024 21:39:02 +0000
From: Simon Horman <horms@...nel.org>
To: Zhengchao Shao <shaozhengchao@...wei.com>
Cc: netdev@...r.kernel.org, davem@...emloft.net, edumazet@...gle.com,
kuba@...nel.org, pabeni@...hat.com, weiyongjun1@...wei.com,
yuehaibing@...wei.com
Subject: Re: [PATCH net-next] fib: rules: remove repeated assignment in
fib_nl2rule
On Fri, Jan 05, 2024 at 02:56:34PM +0800, 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>
Thanks, I agree that this seems unnecessary.
Reviewed-by: Simon Horman <horms@...nel.org>
Powered by blists - more mailing lists