Browse Source

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>
Giuseppe Cavallaro 14 years ago
parent
commit
f3e85df845
1 changed files with 0 additions and 2 deletions
  1. 0 2
      drivers/net/stmmac/stmmac_ethtool.c

+ 0 - 2
drivers/net/stmmac/stmmac_ethtool.c

@@ -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)