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

Commit c9caceca authored by Wei Yongjun's avatar Wei Yongjun Committed by David S. Miller
Browse files

core: remove pointless conditional before kfree()



Remove pointless conditional before kfree().

Signed-off-by: default avatarWei Yongjun <yjwei@cn.fujitsu.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent bb1fee86
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -261,7 +261,6 @@ static int ethtool_get_rxnfc(struct net_device *dev, void __user *useraddr)
	ret = 0;

err_out:
	if (rule_buf)
	kfree(rule_buf);

	return ret;