net/mlx4_core: Removed unnecessary bit operation condition
authorEyal Perry <eyalpe@mellanox.com>
Wed, 14 May 2014 09:15:14 +0000 (12:15 +0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 14 May 2014 19:40:33 +0000 (15:40 -0400)
commit483e01320eee45a32061c874a09cbac275effe24
tree5fb2afd6d602e4c048faaa37a49b81e6716f9bf2
parentc05a116f397242e0ed4353bb4d36671a1f86ec77
net/mlx4_core: Removed unnecessary bit operation condition

Fix the "warn: suspicious bitop condition" made by the smatch semantic
checker on:
drivers/net/ethernet/mellanox/mlx4/main.c:509 mlx4_slave_cap()

Signed-off-by: Eyal Perry <eyalpe@mellanox.com>
Signed-off-by: Amir Vadai <amirv@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/main.c