summaryrefslogtreecommitdiffstats
path: root/drivers/net/stmmac/stmmac_ethtool.c
diff options
context:
space:
mode:
authorGiuseppe Cavallaro <peppe.cavallaro@st.com>2010-10-17 13:43:56 -0700
committerDavid S. Miller <davem@davemloft.net>2010-10-17 13:43:56 -0700
commitf3e85df845a5da60fc461cf49537435b1d07cf6d (patch)
tree43ff627f5fb824cb35a4b314d270132c86243a94 /drivers/net/stmmac/stmmac_ethtool.c
parented440e82fee9652715a8145ffee8f56396017d9a (diff)
downloadlinux-f3e85df845a5da60fc461cf49537435b1d07cf6d.tar.gz
linux-f3e85df845a5da60fc461cf49537435b1d07cf6d.tar.bz2
linux-f3e85df845a5da60fc461cf49537435b1d07cf6d.zip
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/stmmac_ethtool.c')
-rw-r--r--drivers/net/stmmac/stmmac_ethtool.c2
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 = {
.get_wol = stmmac_get_wol,
.set_wol = stmmac_set_wol,
.get_sset_count = stmmac_get_sset_count,
-#ifdef NETIF_F_TSO
.get_tso = ethtool_op_get_tso,
.set_tso = ethtool_op_set_tso,
-#endif
};
void stmmac_set_ethtool_ops(struct net_device *netdev)