[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20160924.082842.382648996095761130.davem@davemloft.net>
Date: Sat, 24 Sep 2016 08:28:42 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: colin.king@...onical.com
Cc: jiri@...lanox.com, idosch@...lanox.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] mlxsw: spectrum: remove redundant check if err is zero
From: Colin King <colin.king@...onical.com>
Date: Fri, 23 Sep 2016 12:02:45 +0100
> From: Colin Ian King <colin.king@...onical.com>
>
> There is an earlier check and return if err is non-zero, so
> the check to see if it is zero is redundant in every iteration
> of the loop and hence the check can be removed.
>
> Signed-off-by: Colin Ian King <colin.king@...onical.com>
Applied to net-next.
Powered by blists - more mailing lists