summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/mellanox/mlx5/core/eswitch.h
diff options
context:
space:
mode:
authorJiri Pirko <jiri@nvidia.com>2023-06-01 14:16:41 +0200
committerSaeed Mahameed <saeedm@nvidia.com>2023-08-22 21:34:17 -0700
commitc0ae0092927222a1399465325ff778a78cc5f826 (patch)
treeca010f39e4c5430aaf23ffba13eeecf255767440 /drivers/net/ethernet/mellanox/mlx5/core/eswitch.h
parent2caa2a39116f07fd06778052a90b3e35bc262c44 (diff)
net/mlx5: Return -EOPNOTSUPP in mlx5_devlink_port_fn_migratable_set() directly
Instead of initializing "err" variable, just return "-EOPNOTSUPP" directly where it is needed. 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 'drivers/net/ethernet/mellanox/mlx5/core/eswitch.h')
0 files changed, 0 insertions, 0 deletions