diff options
author | 2023-06-01 13:15:12 +0200 | |
---|---|---|
committer | 2023-06-23 12:27:34 -0700 | |
commit | 0d0946d6488e785c30a0c4fce4cf21dc7da6dc1f (patch) | |
tree | 0ffff8949c48255fd567beca6af8d5c4b5c663d5 /net/unix/af_unix.c | |
parent | net/mlx5: Remove redundant MLX5_ESWITCH_MANAGER() check from is_ib_rep_supported() (diff) | |
download | wireguard-linux-0d0946d6488e785c30a0c4fce4cf21dc7da6dc1f.tar.xz wireguard-linux-0d0946d6488e785c30a0c4fce4cf21dc7da6dc1f.zip |
net/mlx5: Remove redundant is_mdev_switchdev_mode() check from is_ib_rep_supported()
is_mdev_switchdev_mode() check is done in is_eth_rep_supported().
Function is_ib_rep_supported() calls is_eth_rep_supported().
Remove the redundant check from it.
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