net/mlx5e: Fix unnecessary flow_block_cb_is_busy call
authorwenxu <wenxu@ucloud.cn>
Sat, 27 Jul 2019 14:59:55 +0000 (22:59 +0800)
committerSaeed Mahameed <saeedm@mellanox.com>
Mon, 29 Jul 2019 23:40:24 +0000 (16:40 -0700)
commitaae67158da3677cde569919d66c6521f7b3a4502
tree7045b4d1e71cbf510a1bccd992eea4e217c8793f
parent79ce39be1d63cc919062ffdacea583c90f3364f6
net/mlx5e: Fix unnecessary flow_block_cb_is_busy call

When call flow_block_cb_is_busy. The indr_priv is guaranteed to
NULL ptr. So there is no need to call flow_bock_cb_is_busy.

Fixes: 0d4fd02e7199 ("net: flow_offload: add flow_block_cb_is_busy() and use it")
Signed-off-by: wenxu <wenxu@ucloud.cn>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en_rep.c