Commit 66a1c541 authored by Michał Mirosław's avatar Michał Mirosław Committed by David S. Miller

net: benet: convert to hw_features - fixup

Remove be_set_flags() as it's already covered by hw_features.
Signed-off-by: default avatarMichał Mirosław <mirq-linux@rere.qmqm.pl>
Acked-by: Ajit Khaparde ajit.khaparde@emulex.com
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 86688a8f
...@@ -712,18 +712,6 @@ be_read_eeprom(struct net_device *netdev, struct ethtool_eeprom *eeprom, ...@@ -712,18 +712,6 @@ be_read_eeprom(struct net_device *netdev, struct ethtool_eeprom *eeprom,
return status; return status;
} }
static int be_set_flags(struct net_device *netdev, u32 data)
{
struct be_adapter *adapter = netdev_priv(netdev);
int rc = -1;
if (be_multi_rxq(adapter))
rc = ethtool_op_set_flags(netdev, data, ETH_FLAG_RXHASH |
ETH_FLAG_TXVLAN | ETH_FLAG_RXVLAN);
return rc;
}
const struct ethtool_ops be_ethtool_ops = { const struct ethtool_ops be_ethtool_ops = {
.get_settings = be_get_settings, .get_settings = be_get_settings,
.get_drvinfo = be_get_drvinfo, .get_drvinfo = be_get_drvinfo,
...@@ -745,5 +733,4 @@ const struct ethtool_ops be_ethtool_ops = { ...@@ -745,5 +733,4 @@ const struct ethtool_ops be_ethtool_ops = {
.get_regs = be_get_regs, .get_regs = be_get_regs,
.flash_device = be_do_flash, .flash_device = be_do_flash,
.self_test = be_self_test, .self_test = be_self_test,
.set_flags = be_set_flags,
}; };
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment