]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd63844f3f18086c7efeaf9dfaa25ab242a03d640
tree481117424626f96cf78f93e9bf147bc9748267fd
parent7344d24ec151a89cd5463f45b0adba67a2a27200
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