unix: remove some pointless conditionals before kfree_skb()
Remove some pointless conditionals before kfree_skb(). Signed-off-by: Wei Yongjun <yjwei@cn.fujitsu.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
86dc1ad2be
commit
40d44446cf
1 changed files with 1 additions and 2 deletions
|
|
@ -1178,7 +1178,6 @@ out_unlock:
|
||||||
unix_state_unlock(other);
|
unix_state_unlock(other);
|
||||||
|
|
||||||
out:
|
out:
|
||||||
if (skb)
|
|
||||||
kfree_skb(skb);
|
kfree_skb(skb);
|
||||||
if (newsk)
|
if (newsk)
|
||||||
unix_release_sock(newsk, 0);
|
unix_release_sock(newsk, 0);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue