aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorJiri Pirko <[email protected]>2023-06-01 07:17:17 +0000
committerSaeed Mahameed <[email protected]>2023-06-23 19:27:35 +0000
commit29e4c95faee52a9b7a4f1293cb92cd17a0b5fd91 (patch)
treeace530c1432bb826bd7d1bde155afdeaa7f557cb /net/unix/af_unix.c
parentnet/mlx5: Remove redundant check from mlx5_esw_query_vport_vhca_id() (diff)
downloadkernel-29e4c95faee52a9b7a4f1293cb92cd17a0b5fd91.tar.gz
kernel-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 <[email protected]> Reviewed-by: Shay Drory <[email protected]> Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions