mlxsw: switchx2: Remove unnecessary conversion to bool
authorIdo Schimmel <idosch@mellanox.com>
Fri, 27 Mar 2020 08:55:24 +0000 (11:55 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 27 Mar 2020 22:06:43 +0000 (15:06 -0700)
commitcfe9701a25cee0fde1f3e272244df07028c77c7d
tree481117424626f96cf78f93e9bf147bc9748267fd
parente1da9618b785366bed7d175ab6599f897119b87b
mlxsw: switchx2: Remove unnecessary conversion to bool

Suppress following warning from coccinelle:

drivers/net/ethernet/mellanox/mlxsw//switchx2.c:183:63-68: WARNING:
conversion to bool not needed here

Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Reviewed-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/switchx2.c