提交 f3e85df8 编写于 作者: G Giuseppe Cavallaro 提交者: David S. Miller

stmmac: remove ifdef NETIF_F_TSO from stmmac_ethtool.c

Signed-off-by: NGiuseppe Cavallaro <peppe.cavallaro@st.com>
Reported-by: NArmando Visconti <armando.visconti@st.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 ed440e82
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册