Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1969,8 +1969,8 @@ static int dpaa2_eth_set_hash(struct net_device *net_dev, u64 flags)
	int err = 0;

	if (!dpaa2_eth_hash_enabled(priv)) {
		dev_err(dev, "Hashing support is not enabled\n");
		return -EOPNOTSUPP;
		dev_dbg(dev, "Hashing support is not enabled\n");
		return 0;
	}

	memset(&cls_cfg, 0, sizeof(cls_cfg));