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: Ioana Radulescu <ruxandra.radulescu@nxp.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
c433db403b
commit
e202c82c90
@ -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));
|
||||||
|
Loading…
Reference in New Issue
Block a user