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

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

unix: remove some pointless conditionals before kfree_skb()



Remove some pointless conditionals before kfree_skb().

Signed-off-by: default avatarWei Yongjun <yjwei@cn.fujitsu.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 86dc1ad2
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -1178,7 +1178,6 @@ out_unlock:
		unix_state_unlock(other);

out:
	if (skb)
	kfree_skb(skb);
	if (newsk)
		unix_release_sock(newsk, 0);