Commit e202c82c authored by Ioana Radulescu's avatar Ioana Radulescu Committed by Greg Kroah-Hartman

staging: fsl-dpaa2/eth: Remove incorrect error path

Not having Rx hashing distribution enabled for an
interface is a valid configuration and shouldn't be
treated as an error.
Signed-off-by: default avatarIoana Radulescu <ruxandra.radulescu@nxp.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent c433db40
...@@ -1969,8 +1969,8 @@ static int dpaa2_eth_set_hash(struct net_device *net_dev, u64 flags) ...@@ -1969,8 +1969,8 @@ static int dpaa2_eth_set_hash(struct net_device *net_dev, u64 flags)
int err = 0; int err = 0;
if (!dpaa2_eth_hash_enabled(priv)) { if (!dpaa2_eth_hash_enabled(priv)) {
dev_err(dev, "Hashing support is not enabled\n"); dev_dbg(dev, "Hashing support is not enabled\n");
return -EOPNOTSUPP; return 0;
} }
memset(&cls_cfg, 0, sizeof(cls_cfg)); memset(&cls_cfg, 0, sizeof(cls_cfg));
......
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