From: Michał Mirosław <mirq-linux@rere.qmqm.pl>
Date: Wed, 20 Apr 2011 16:27:09 +0000 (+0200)
Subject: staging: octeon-ethernet: remove .get_sg, etc. ethtool_ops
X-Git-Tag: firefly_0821_release~7613^2~1326^2~665
X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=29bad1a139af7574df37613259298c198c4bf93c;p=firefly-linux-kernel-4.4.55.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 <mirq-linux@rere.qmqm.pl>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---

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,
 };
 
 /**