]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
stmmac: remove ifdef NETIF_F_TSO from stmmac_ethtool.c
authorGiuseppe Cavallaro <peppe.cavallaro@st.com>
Sun, 17 Oct 2010 20:43:56 +0000 (13:43 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 17 Oct 2010 20:43:56 +0000 (13:43 -0700)
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>
drivers/net/stmmac/stmmac_ethtool.c

index de7589287fb8571169a4ee9f0561924328c0cc8d..6d65482e789a3639aa310da5d048ea19232022eb 100644 (file)
@@ -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)