diff options
author | Giuseppe Cavallaro <peppe.cavallaro@st.com> | 2010-10-17 16:43:56 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-10-17 16:43:56 -0400 |
commit | f3e85df845a5da60fc461cf49537435b1d07cf6d (patch) | |
tree | 43ff627f5fb824cb35a4b314d270132c86243a94 /drivers/net/stmmac | |
parent | ed440e82fee9652715a8145ffee8f56396017d9a (diff) |
stmmac: remove ifdef NETIF_F_TSO from stmmac_ethtool.c
Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Reported-by: Armando Visconti <armando.visconti@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/stmmac')
-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) |