linux/drivers/net/ethernet/mellanox
Colin Ian King faac0ff0a5 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>
2016-09-24 08:28:23 -04:00
..
mlx4 net/mlx4: Add VF vlan protocol 802.1ad support 2016-09-24 08:01:27 -04:00
mlx5/core net: Update API for VF vlan protocol 802.1ad support 2016-09-24 08:01:26 -04:00
mlxsw mlxsw: spectrum: remove redundant check if err is zero 2016-09-24 08:28:23 -04:00
Kconfig mlxsw: Introduce Mellanox switch driver core 2015-07-30 00:04:59 -07:00
Makefile mlxsw: Introduce Mellanox switch driver core 2015-07-30 00:04:59 -07:00