diff options
| author | Jiri Pirko <[email protected]> | 2023-05-31 13:11:07 +0000 |
|---|---|---|
| committer | Saeed Mahameed <[email protected]> | 2023-06-23 19:27:34 +0000 |
| commit | 899862b653d74ed5fc3a61cd5e14a88b824a71d7 (patch) | |
| tree | 89a09d0aca96710b456d740ac2f907aa1d23b7bf /net/unix/af_unix.c | |
| parent | net/mlx5: Remove redundant is_mdev_switchdev_mode() check from is_ib_rep_supp... (diff) | |
| download | kernel-899862b653d74ed5fc3a61cd5e14a88b824a71d7.tar.gz kernel-899862b653d74ed5fc3a61cd5e14a88b824a71d7.zip | |
net/mlx5: Remove redundant check from mlx5_esw_query_vport_vhca_id()
Since mlx5_esw_query_vport_vhca_id() could be called either from
mlx5_esw_vport_enable() or mlx5_esw_vport_disable() where the
the check is done, this is always false here.
Remove the redundant check.
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
