[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160923121426.GA1789@nanopsycho>
Date: Fri, 23 Sep 2016 14:14:27 +0200
From: Jiri Pirko <jiri@...nulli.us>
To: Colin King <colin.king@...onical.com>
Cc: Jiri Pirko <jiri@...lanox.com>, Ido Schimmel <idosch@...lanox.com>,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] mlxsw: spectrum: remove redundant check if err is zero
Fri, Sep 23, 2016 at 01:02:45PM CEST, colin.king@...onical.com wrote:
>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>
Acked-by: Jiri Pirko <jiri@...lanox.com>
Powered by blists - more mailing lists