From: Colin King
Date: Fri, 23 Sep 2016 12:02:45 +0100
> From: Colin Ian King
>
> 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
A
Fri, Sep 23, 2016 at 01:02:45PM CEST, colin.k...@canonical.com wrote:
>From: Colin Ian King
>
>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 Ki
From: Colin Ian King
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
---
drivers/net/ethernet/mellanox/mlxsw/spectrum.c | 2 +-
1 file change