diff options
Diffstat (limited to 'drivers/net/sfc/ethtool.c')
-rw-r--r-- | drivers/net/sfc/ethtool.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/drivers/net/sfc/ethtool.c b/drivers/net/sfc/ethtool.c index 5e50e57b0ae2..0e8bb19ed60d 100644 --- a/drivers/net/sfc/ethtool.c +++ b/drivers/net/sfc/ethtool.c | |||
@@ -620,13 +620,6 @@ static int efx_ethtool_nway_reset(struct net_device *net_dev) | |||
620 | return mdio45_nway_restart(&efx->mdio); | 620 | return mdio45_nway_restart(&efx->mdio); |
621 | } | 621 | } |
622 | 622 | ||
623 | static u32 efx_ethtool_get_link(struct net_device *net_dev) | ||
624 | { | ||
625 | struct efx_nic *efx = netdev_priv(net_dev); | ||
626 | |||
627 | return efx->link_state.up; | ||
628 | } | ||
629 | |||
630 | static int efx_ethtool_get_coalesce(struct net_device *net_dev, | 623 | static int efx_ethtool_get_coalesce(struct net_device *net_dev, |
631 | struct ethtool_coalesce *coalesce) | 624 | struct ethtool_coalesce *coalesce) |
632 | { | 625 | { |
@@ -1047,7 +1040,7 @@ const struct ethtool_ops efx_ethtool_ops = { | |||
1047 | .get_msglevel = efx_ethtool_get_msglevel, | 1040 | .get_msglevel = efx_ethtool_get_msglevel, |
1048 | .set_msglevel = efx_ethtool_set_msglevel, | 1041 | .set_msglevel = efx_ethtool_set_msglevel, |
1049 | .nway_reset = efx_ethtool_nway_reset, | 1042 | .nway_reset = efx_ethtool_nway_reset, |
1050 | .get_link = efx_ethtool_get_link, | 1043 | .get_link = ethtool_op_get_link, |
1051 | .get_coalesce = efx_ethtool_get_coalesce, | 1044 | .get_coalesce = efx_ethtool_get_coalesce, |
1052 | .set_coalesce = efx_ethtool_set_coalesce, | 1045 | .set_coalesce = efx_ethtool_set_coalesce, |
1053 | .get_ringparam = efx_ethtool_get_ringparam, | 1046 | .get_ringparam = efx_ethtool_get_ringparam, |