mlxsw: core: remove an unneeded condition
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 9 Dec 2015 10:41:29 +0000 (13:41 +0300)
committerDavid S. Miller <davem@davemloft.net>
Sat, 12 Dec 2015 01:10:55 +0000 (20:10 -0500)
commit515123e286b686d32256342318f20ff932ebac1b
treebda0f067d7a433b06f0d74a73930a46d4d7cebd4
parent82a06429ae215b39320e925dfae72419865d6029
mlxsw: core: remove an unneeded condition

We already know "err" is zero so there is no need to check.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/core_hwmon.c