diff options
author | David S. Miller <davem@davemloft.net> | 2010-08-23 23:34:51 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-08-23 23:34:51 -0400 |
commit | f04b4dd2b1f533cef0507e0410ffc6732d21a272 (patch) | |
tree | f674c3b8de9afc809700c8a91799230a5d9b0cd2 /drivers/net/bna | |
parent | 8b230ed8ec96c933047dd0625cf95f739e4939a6 (diff) |
bna: Delete get_flags and set_flags ethtool methods.
This driver doesn't support LRO, NTUPLE, or the RXHASH
features. So it should not set these ethtool operations.
This also fixes the warning:
drivers/net/bna/bnad_ethtool.c:1272: warning: initialization from incompatible pointer type
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bna')
-rw-r--r-- | drivers/net/bna/bnad_ethtool.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/bna/bnad_ethtool.c b/drivers/net/bna/bnad_ethtool.c index e982785b6b25..7e630f5e8e03 100644 --- a/drivers/net/bna/bnad_ethtool.c +++ b/drivers/net/bna/bnad_ethtool.c | |||
@@ -1268,8 +1268,6 @@ static struct ethtool_ops bnad_ethtool_ops = { | |||
1268 | .set_sg = ethtool_op_set_sg, | 1268 | .set_sg = ethtool_op_set_sg, |
1269 | .get_tso = ethtool_op_get_tso, | 1269 | .get_tso = ethtool_op_get_tso, |
1270 | .set_tso = bnad_set_tso, | 1270 | .set_tso = bnad_set_tso, |
1271 | .get_flags = ethtool_op_get_flags, | ||
1272 | .set_flags = ethtool_op_set_flags, | ||
1273 | .get_strings = bnad_get_strings, | 1271 | .get_strings = bnad_get_strings, |
1274 | .get_ethtool_stats = bnad_get_ethtool_stats, | 1272 | .get_ethtool_stats = bnad_get_ethtool_stats, |
1275 | .get_sset_count = bnad_get_sset_count | 1273 | .get_sset_count = bnad_get_sset_count |