diff options
author | 2023-06-01 09:17:17 +0200 | |
---|---|---|
committer | 2023-06-23 12:27:35 -0700 | |
commit | 29e4c95faee52a9b7a4f1293cb92cd17a0b5fd91 (patch) | |
tree | ace530c1432bb826bd7d1bde155afdeaa7f557cb /net/unix/af_unix.c | |
parent | net/mlx5: Remove redundant check from mlx5_esw_query_vport_vhca_id() (diff) | |
download | wireguard-linux-29e4c95faee52a9b7a4f1293cb92cd17a0b5fd91.tar.xz wireguard-linux-29e4c95faee52a9b7a4f1293cb92cd17a0b5fd91.zip |
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 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions