From: Michał Mirosław Date: Wed, 20 Apr 2011 16:27:09 +0000 (+0200) Subject: staging: octeon-ethernet: remove .get_sg, etc. ethtool_ops X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=29bad1a139af7574df37613259298c198c4bf93c;p=deliverable%2Flinux.git staging: octeon-ethernet: remove .get_sg, etc. ethtool_ops 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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/octeon/ethernet-mdio.c b/drivers/staging/octeon/ethernet-mdio.c index 10a82ef30215..8a11ffcd7de8 100644 --- a/drivers/staging/octeon/ethernet-mdio.c +++ b/drivers/staging/octeon/ethernet-mdio.c @@ -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, }; /**