bna: Delete get_flags and set_flags ethtool methods.
authorDavid S. Miller <davem@davemloft.net>
Tue, 24 Aug 2010 03:34:51 +0000 (20:34 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 24 Aug 2010 03:34:51 +0000 (20:34 -0700)
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>
drivers/net/bna/bnad_ethtool.c

index e982785b6b25b21e14df542e8e7640390727103b..7e630f5e8e03b82977cae9701411f884d0d6f8ee 100644 (file)
@@ -1268,8 +1268,6 @@ static struct ethtool_ops bnad_ethtool_ops = {
        .set_sg = ethtool_op_set_sg,
        .get_tso = ethtool_op_get_tso,
        .set_tso = bnad_set_tso,
-       .get_flags = ethtool_op_get_flags,
-       .set_flags = ethtool_op_set_flags,
        .get_strings = bnad_get_strings,
        .get_ethtool_stats = bnad_get_ethtool_stats,
        .get_sset_count = bnad_get_sset_count