diff options
Diffstat (limited to 'drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c')
| -rw-r--r-- | drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c b/drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c index 677bfe069fb7..42606538bb01 100644 --- a/drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c +++ b/drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c | |||
| @@ -749,7 +749,7 @@ static int hns3_set_link_ksettings(struct net_device *netdev, | |||
| 749 | { | 749 | { |
| 750 | struct hnae3_handle *handle = hns3_get_handle(netdev); | 750 | struct hnae3_handle *handle = hns3_get_handle(netdev); |
| 751 | const struct hnae3_ae_ops *ops = handle->ae_algo->ops; | 751 | const struct hnae3_ae_ops *ops = handle->ae_algo->ops; |
| 752 | int ret = 0; | 752 | int ret; |
| 753 | 753 | ||
| 754 | /* Chip don't support this mode. */ | 754 | /* Chip don't support this mode. */ |
| 755 | if (cmd->base.speed == SPEED_1000 && cmd->base.duplex == DUPLEX_HALF) | 755 | if (cmd->base.speed == SPEED_1000 && cmd->base.duplex == DUPLEX_HALF) |
