net: Remove invalid offloads
authorMichał Mirosław <mirq-linux@rere.qmqm.pl>
Fri, 8 Apr 2011 02:38:46 +0000 (02:38 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 11 Apr 2011 01:55:17 +0000 (18:55 -0700)
Remove offload changing ethtool ops which drivers don't really support:

 - fs_enet
 - ucc_geth

Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/fs_enet/fs_enet-main.c
drivers/net/ucc_geth_ethtool.c

index 24cb953900dde794e60fe3d5921c7e0698f800e8..a9388944f1d3cdd5c985cbc1fff8531accc9e51c 100644 (file)
@@ -956,8 +956,6 @@ static const struct ethtool_ops fs_ethtool_ops = {
        .get_link = ethtool_op_get_link,
        .get_msglevel = fs_get_msglevel,
        .set_msglevel = fs_set_msglevel,
-       .set_tx_csum = ethtool_op_set_tx_csum,  /* local! */
-       .set_sg = ethtool_op_set_sg,
        .get_regs = fs_get_regs,
 };
 
index 6f92e48f02d33f5ffccd2510384976441a2a2bb2..537fbc0a4401d4c704d7d3d5c5944138ddb135e9 100644 (file)
@@ -410,7 +410,6 @@ static const struct ethtool_ops uec_ethtool_ops = {
        .set_ringparam          = uec_set_ringparam,
        .get_pauseparam         = uec_get_pauseparam,
        .set_pauseparam         = uec_set_pauseparam,
-       .set_sg                 = ethtool_op_set_sg,
        .get_sset_count         = uec_get_sset_count,
        .get_strings            = uec_get_strings,
        .get_ethtool_stats      = uec_get_ethtool_stats,