Commit f3e85df8 authored by Giuseppe Cavallaro's avatar Giuseppe Cavallaro Committed by David S. Miller

stmmac: remove ifdef NETIF_F_TSO from stmmac_ethtool.c

Signed-off-by: default avatarGiuseppe Cavallaro <peppe.cavallaro@st.com>
Reported-by: default avatarArmando Visconti <armando.visconti@st.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent ed440e82
...@@ -380,10 +380,8 @@ static struct ethtool_ops stmmac_ethtool_ops = { ...@@ -380,10 +380,8 @@ static struct ethtool_ops stmmac_ethtool_ops = {
.get_wol = stmmac_get_wol, .get_wol = stmmac_get_wol,
.set_wol = stmmac_set_wol, .set_wol = stmmac_set_wol,
.get_sset_count = stmmac_get_sset_count, .get_sset_count = stmmac_get_sset_count,
#ifdef NETIF_F_TSO
.get_tso = ethtool_op_get_tso, .get_tso = ethtool_op_get_tso,
.set_tso = ethtool_op_set_tso, .set_tso = ethtool_op_set_tso,
#endif
}; };
void stmmac_set_ethtool_ops(struct net_device *netdev) void stmmac_set_ethtool_ops(struct net_device *netdev)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment