diff options
-rw-r--r-- | drivers/net/atl1e/atl1e_ethtool.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/net/atl1e/atl1e_ethtool.c b/drivers/net/atl1e/atl1e_ethtool.c index b0fb7254e2cb..bb15c51b9180 100644 --- a/drivers/net/atl1e/atl1e_ethtool.c +++ b/drivers/net/atl1e/atl1e_ethtool.c | |||
@@ -131,11 +131,6 @@ static int atl1e_set_settings(struct net_device *netdev, | |||
131 | return 0; | 131 | return 0; |
132 | } | 132 | } |
133 | 133 | ||
134 | static u32 atl1e_get_tx_csum(struct net_device *netdev) | ||
135 | { | ||
136 | return (netdev->features & NETIF_F_HW_CSUM) != 0; | ||
137 | } | ||
138 | |||
139 | static u32 atl1e_get_msglevel(struct net_device *netdev) | 134 | static u32 atl1e_get_msglevel(struct net_device *netdev) |
140 | { | 135 | { |
141 | #ifdef DBG | 136 | #ifdef DBG |
@@ -393,13 +388,8 @@ static const struct ethtool_ops atl1e_ethtool_ops = { | |||
393 | .get_eeprom_len = atl1e_get_eeprom_len, | 388 | .get_eeprom_len = atl1e_get_eeprom_len, |
394 | .get_eeprom = atl1e_get_eeprom, | 389 | .get_eeprom = atl1e_get_eeprom, |
395 | .set_eeprom = atl1e_set_eeprom, | 390 | .set_eeprom = atl1e_set_eeprom, |
396 | .get_tx_csum = atl1e_get_tx_csum, | ||
397 | .set_tx_csum = ethtool_op_set_tx_hw_csum, | 391 | .set_tx_csum = ethtool_op_set_tx_hw_csum, |
398 | .get_sg = ethtool_op_get_sg, | ||
399 | .set_sg = ethtool_op_set_sg, | 392 | .set_sg = ethtool_op_set_sg, |
400 | #ifdef NETIF_F_TSO | ||
401 | .get_tso = ethtool_op_get_tso, | ||
402 | #endif | ||
403 | .set_tso = ethtool_op_set_tso, | 393 | .set_tso = ethtool_op_set_tso, |
404 | }; | 394 | }; |
405 | 395 | ||