]> git.karo-electronics.de Git - linux-beck.git/commit
net/mlx5: remove a duplicate condition
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 24 Nov 2016 11:03:45 +0000 (14:03 +0300)
committerDavid S. Miller <davem@davemloft.net>
Sat, 26 Nov 2016 01:28:28 +0000 (20:28 -0500)
commiteafa6abd99eadb8971c01a4c591295ac4d8d0a9b
tree1abbf18911afe68b9a5c9ff2d8fe132e5e0ec9e7
parent0ebc5b62a35611a8478d199429c84fa2c708f627
net/mlx5: remove a duplicate condition

We verified that MLX5_FLOW_CONTEXT_ACTION_COUNT was set on the first
line of the function so we don't need to check again here.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c