[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20200911.144842.1644303060226035755.davem@davemloft.net>
Date: Fri, 11 Sep 2020 14:48:42 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: colin.king@...onical.com
Cc: kuznet@....inr.ac.ru, yoshfuji@...ux-ipv6.org, kuba@...nel.org,
netdev@...r.kernel.org, kernel-janitors@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] ipv6: remove redundant assignment to variable err
From: Colin King <colin.king@...onical.com>
Date: Fri, 11 Sep 2020 11:35:09 +0100
> From: Colin Ian King <colin.king@...onical.com>
>
> The variable err is being initialized with a value that is never read and
> it is being updated later with a new value. The initialization is redundant
> and can be removed. Also re-order variable declarations in reverse
> Christmas tree ordering.
>
> Addresses-Coverity: ("Unused value")
> Signed-off-by: Colin Ian King <colin.king@...onical.com>
Applied.
Powered by blists - more mailing lists