diff options
Diffstat (limited to 'drivers/net/stmmac/stmmac_ethtool.c')
-rw-r--r-- | drivers/net/stmmac/stmmac_ethtool.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/stmmac/stmmac_ethtool.c b/drivers/net/stmmac/stmmac_ethtool.c index de7589287fb8..6d65482e789a 100644 --- a/drivers/net/stmmac/stmmac_ethtool.c +++ b/drivers/net/stmmac/stmmac_ethtool.c | |||
@@ -380,10 +380,8 @@ static struct ethtool_ops stmmac_ethtool_ops = { | |||
380 | .get_wol = stmmac_get_wol, | 380 | .get_wol = stmmac_get_wol, |
381 | .set_wol = stmmac_set_wol, | 381 | .set_wol = stmmac_set_wol, |
382 | .get_sset_count = stmmac_get_sset_count, | 382 | .get_sset_count = stmmac_get_sset_count, |
383 | #ifdef NETIF_F_TSO | ||
384 | .get_tso = ethtool_op_get_tso, | 383 | .get_tso = ethtool_op_get_tso, |
385 | .set_tso = ethtool_op_set_tso, | 384 | .set_tso = ethtool_op_set_tso, |
386 | #endif | ||
387 | }; | 385 | }; |
388 | 386 | ||
389 | void stmmac_set_ethtool_ops(struct net_device *netdev) | 387 | void stmmac_set_ethtool_ops(struct net_device *netdev) |