diff options
author | Piotr Raczynski <[email protected]> | 2023-05-15 21:03:16 +0200 |
---|---|---|
committer | Tony Nguyen <[email protected]> | 2023-05-16 09:38:38 -0700 |
commit | 524012c69ee1421d4a343291a0cfc1998ccba99a (patch) | |
tree | 57ff5719b76c5b23951c2a2e71e67be273d5cc83 /tools/perf/scripts/python | |
parent | 369bb5a2a9a76ab6ea2945962d09baa21b4e1a4f (diff) |
ice: remove redundant SRIOV code
Remove redundant code from ice_get_max_valid_res_idx that has no effect.
ice_pf::irq_tracker is initialized during driver probe, there is no reason
to check it again. Also it is not possible for pf::sriov_base_vector to be
lower than the tracker length, remove WARN_ON that will never happen.
Get rid of ice_get_max_valid_res_idx helper function completely since it
can never return negative value.
Reviewed-by: Jacob Keller <[email protected]>
Reviewed-by: Michal Swiatkowski <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Tested-by: Rafal Romanowski <[email protected]>
Signed-off-by: Piotr Raczynski <[email protected]>
Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions