Messages in this thread | | | Date | Sat, 24 Sep 2016 08:28:42 -0400 (EDT) | Subject | Re: [PATCH] mlxsw: spectrum: remove redundant check if err is zero | From | David Miller <> |
| |
From: Colin King <colin.king@canonical.com> Date: Fri, 23 Sep 2016 12:02:45 +0100
> From: Colin Ian King <colin.king@canonical.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@canonical.com>
Applied to net-next.
| |