[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <27d7fdc8-f2ef-6940-ec93-736c95e82cfa@gmail.com>
Date: Fri, 31 May 2019 12:37:40 -0600
From: David Ahern <dsahern@...il.com>
To: Colin King <colin.king@...onical.com>,
"David S . Miller" <davem@...emloft.net>,
Alexey Kuznetsov <kuznet@....inr.ac.ru>,
Hideaki YOSHIFUJI <yoshfuji@...ux-ipv6.org>,
netdev@...r.kernel.org
Cc: kernel-janitors@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH][next] nexthop: remove redundant assignment to err
On 5/30/19 9:57 AM, Colin King wrote:
> From: Colin Ian King <colin.king@...onical.com>
>
> The variable err is initialized with a value that is never read
> and err is reassigned a few statements later. This initialization
> is redundant and can be removed.
>
> Addresses-Coverity: ("Unused value")
> Signed-off-by: Colin Ian King <colin.king@...onical.com>
> ---
> net/ipv4/nexthop.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
Reviewed-by: David Ahern <dsahern@...il.com>
Powered by blists - more mailing lists