diff options
author | Jiri Pirko <jiri@nvidia.com> | 2023-06-01 09:17:17 +0200 |
---|---|---|
committer | Saeed Mahameed <saeedm@nvidia.com> | 2023-06-23 12:27:35 -0700 |
commit | 29e4c95faee52a9b7a4f1293cb92cd17a0b5fd91 (patch) | |
tree | ace530c1432bb826bd7d1bde155afdeaa7f557cb /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 899862b653d74ed5fc3a61cd5e14a88b824a71d7 (diff) |
net/mlx5: Remove pointless vport lookup from mlx5_esw_check_port_type()
As xa_get_mark() returns false in case the entry is not present,
no need to redundantly check if vport is present. Remove the lookup.
Signed-off-by: Jiri Pirko <jiri@nvidia.com>
Reviewed-by: Shay Drory <shayd@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions