diff options
Diffstat (limited to 'drivers/net/igbvf/ethtool.c')
-rw-r--r-- | drivers/net/igbvf/ethtool.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/net/igbvf/ethtool.c b/drivers/net/igbvf/ethtool.c index abb3606928f..ed6e3d91024 100644 --- a/drivers/net/igbvf/ethtool.c +++ b/drivers/net/igbvf/ethtool.c | |||
@@ -110,11 +110,6 @@ static int igbvf_get_settings(struct net_device *netdev, | |||
110 | return 0; | 110 | return 0; |
111 | } | 111 | } |
112 | 112 | ||
113 | static u32 igbvf_get_link(struct net_device *netdev) | ||
114 | { | ||
115 | return netif_carrier_ok(netdev); | ||
116 | } | ||
117 | |||
118 | static int igbvf_set_settings(struct net_device *netdev, | 113 | static int igbvf_set_settings(struct net_device *netdev, |
119 | struct ethtool_cmd *ecmd) | 114 | struct ethtool_cmd *ecmd) |
120 | { | 115 | { |
@@ -515,7 +510,7 @@ static const struct ethtool_ops igbvf_ethtool_ops = { | |||
515 | .get_msglevel = igbvf_get_msglevel, | 510 | .get_msglevel = igbvf_get_msglevel, |
516 | .set_msglevel = igbvf_set_msglevel, | 511 | .set_msglevel = igbvf_set_msglevel, |
517 | .nway_reset = igbvf_nway_reset, | 512 | .nway_reset = igbvf_nway_reset, |
518 | .get_link = igbvf_get_link, | 513 | .get_link = ethtool_op_get_link, |
519 | .get_eeprom_len = igbvf_get_eeprom_len, | 514 | .get_eeprom_len = igbvf_get_eeprom_len, |
520 | .get_eeprom = igbvf_get_eeprom, | 515 | .get_eeprom = igbvf_get_eeprom, |
521 | .set_eeprom = igbvf_set_eeprom, | 516 | .set_eeprom = igbvf_set_eeprom, |