Skip to content
Commit aae67158 authored by wenxu's avatar wenxu Committed by Saeed Mahameed
Browse files

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: 0d4fd02e ("net: flow_offload: add flow_block_cb_is_busy() and use it")
Signed-off-by: default avatarwenxu <wenxu@ucloud.cn>
Signed-off-by: default avatarSaeed Mahameed <saeedm@mellanox.com>
parent 79ce39be
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment