diff options
author | 2016-09-23 12:02:45 +0100 | |
---|---|---|
committer | 2016-09-24 08:28:23 -0400 | |
commit | faac0ff0a544eed6b8c9375c1104d692e4979540 (patch) | |
tree | 73a65f069981b0930424fce9426bd3e5de0b1d8b /net/unix/af_unix.c | |
parent | Documentation: devicetree: fix typo in MediaTek ethernet device-tree binding (diff) | |
download | wireguard-linux-faac0ff0a544eed6b8c9375c1104d692e4979540.tar.xz wireguard-linux-faac0ff0a544eed6b8c9375c1104d692e4979540.zip |
mlxsw: spectrum: remove redundant check if err is zero
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>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions