projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
86dc1ad
)
unix: remove some pointless conditionals before kfree_skb()
author
Wei Yongjun
<yjwei@cn.fujitsu.com>
Wed, 25 Feb 2009 00:32:45 +0000
(
00:32
+0000)
committer
David S. Miller
<davem@davemloft.net>
Fri, 27 Feb 2009 07:07:34 +0000
(23:07 -0800)
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>
net/unix/af_unix.c
patch
|
blob
|
blame
|
history
diff --git
a/net/unix/af_unix.c
b/net/unix/af_unix.c
index d1b89820ab4f34bc5ad8d00d7fa221691f7876c5..baac91049b0ea0efcafb0259ff4146cc2d0e41f6 100644
(file)
--- a/
net/unix/af_unix.c
+++ b/
net/unix/af_unix.c
@@
-1178,8
+1178,7
@@
out_unlock:
unix_state_unlock(other);
out:
- if (skb)
- kfree_skb(skb);
+ kfree_skb(skb);
if (newsk)
unix_release_sock(newsk, 0);
if (other)