Message ID | 20201105202129.23644-6-saeedm@nvidia.com (mailing list archive) |
---|---|
State | Accepted |
Commit | ae35859445607f7f18dd4f332749219cd636ed59 |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | [net,v2,1/7] net/mlx5e: Fix modify header actions memory leak | expand |
diff --git a/drivers/net/ethernet/mellanox/mlx5/core/eswitch.c b/drivers/net/ethernet/mellanox/mlx5/core/eswitch.c index 6e6a9a563992..e8e6294c7cca 100644 --- a/drivers/net/ethernet/mellanox/mlx5/core/eswitch.c +++ b/drivers/net/ethernet/mellanox/mlx5/core/eswitch.c @@ -1902,8 +1902,6 @@ int mlx5_devlink_port_function_hw_addr_get(struct devlink *devlink, ether_addr_copy(hw_addr, vport->info.mac); *hw_addr_len = ETH_ALEN; err = 0; - } else { - NL_SET_ERR_MSG_MOD(extack, "Eswitch vport is disabled"); } mutex_unlock(&esw->state_lock); return err;