]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: octeon-ethernet: remove .get_sg, etc. ethtool_ops
authorMichał Mirosław <mirq-linux@rere.qmqm.pl>
Wed, 20 Apr 2011 16:27:09 +0000 (18:27 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 26 Apr 2011 00:26:19 +0000 (17:26 -0700)
Driver sets .get_sg and .get_tx_csum ethtool_ops to their default
values anyway. Those fields are deprecated, starting in 2.6.39.

Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/octeon/ethernet-mdio.c

index 10a82ef3021529071476d6f5cc1ddbce9f093544..8a11ffcd7de89188252cda18d3841174e6802c59 100644 (file)
@@ -91,8 +91,6 @@ const struct ethtool_ops cvm_oct_ethtool_ops = {
        .set_settings = cvm_oct_set_settings,
        .nway_reset = cvm_oct_nway_reset,
        .get_link = ethtool_op_get_link,
-       .get_sg = ethtool_op_get_sg,
-       .get_tx_csum = ethtool_op_get_tx_csum,
 };
 
 /**