[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20200223.164154.1411149705613568241.davem@davemloft.net>
Date: Sun, 23 Feb 2020 16:41:54 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: colin.king@...onical.com
Cc: netanel@...zon.com, akiyano@...zon.com, gtzalik@...zon.com,
saeedb@...zon.com, zorik@...zon.com, sameehj@...zon.com,
netdev@...r.kernel.org, kernel-janitors@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] net: ena: ethtool: remove redundant non-zero check on
rc
From: Colin King <colin.king@...onical.com>
Date: Fri, 21 Feb 2020 23:26:53 +0000
> From: Colin Ian King <colin.king@...onical.com>
>
> The non-zero check on rc is redundant as a previous non-zero
> check on rc will always return and the second check is never
> reached, hence it is redundant and can be removed. Also
> remove a blank line.
>
> Addresses-Coverity: ("Logically dead code")
> Signed-off-by: Colin Ian King <colin.king@...onical.com>
Applied to net-next.
Powered by blists - more mailing lists