提交 e202c82c 编写于 作者: I Ioana Radulescu 提交者: 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: NIoana Radulescu <ruxandra.radulescu@nxp.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册