diff options
author | Shan Wei <shanwei@cn.fujitsu.com> | 2011-04-19 11:31:20 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-04-19 23:11:41 -0400 |
commit | 985762b2df4bcb4accc29fda76fc863dd79b8b58 (patch) | |
tree | 7da3ac55b1fb41c08499f8ddd01c51e6b389a142 /drivers/net/forcedeth.c | |
parent | 4805347c1eb12cfe79f42a12a5442ee01590a9c0 (diff) |
net: forcedeth: fix compile warning of not used nv_set_tso function
Fix the below compile warning:
drivers/net/forcedeth.c:4266: warning: ‘nv_set_tso’ defined but not used
commit 569e146 converts forcedeth driver to use hw_features.
So, implement function of .set_tso is abandoned.
Signed-off-by: Shan Wei <shanwei@cn.fujitsu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/forcedeth.c')
-rw-r--r-- | drivers/net/forcedeth.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/net/forcedeth.c b/drivers/net/forcedeth.c index ec9a32d01e61..0e1c76a8c045 100644 --- a/drivers/net/forcedeth.c +++ b/drivers/net/forcedeth.c | |||
@@ -4263,16 +4263,6 @@ static int nv_nway_reset(struct net_device *dev) | |||
4263 | return ret; | 4263 | return ret; |
4264 | } | 4264 | } |
4265 | 4265 | ||
4266 | static int nv_set_tso(struct net_device *dev, u32 value) | ||
4267 | { | ||
4268 | struct fe_priv *np = netdev_priv(dev); | ||
4269 | |||
4270 | if ((np->driver_data & DEV_HAS_CHECKSUM)) | ||
4271 | return ethtool_op_set_tso(dev, value); | ||
4272 | else | ||
4273 | return -EOPNOTSUPP; | ||
4274 | } | ||
4275 | |||
4276 | static void nv_get_ringparam(struct net_device *dev, struct ethtool_ringparam* ring) | 4266 | static void nv_get_ringparam(struct net_device *dev, struct ethtool_ringparam* ring) |
4277 | { | 4267 | { |
4278 | struct fe_priv *np = netdev_priv(dev); | 4268 | struct fe_priv *np = netdev_priv(dev); |