projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f3fbbe0
)
decnet: remove some pointless conditionals before kfree_skb()
author
Wei Yongjun
<yjwei@cn.fujitsu.com>
Wed, 25 Feb 2009 00:39:01 +0000
(
00:39
+0000)
committer
David S. Miller
<davem@davemloft.net>
Fri, 27 Feb 2009 07:07:36 +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/decnet/af_decnet.c
patch
|
blob
|
blame
|
history
diff --git
a/net/decnet/af_decnet.c
b/net/decnet/af_decnet.c
index 12bf7d4c16c641dd31a33904331b43d0069a666f..963da86d4ecff1a0d356c6ab028e658a1fd1d12a 100644
(file)
--- a/
net/decnet/af_decnet.c
+++ b/
net/decnet/af_decnet.c
@@
-2071,8
+2071,7
@@
static int dn_sendmsg(struct kiocb *iocb, struct socket *sock,
}
out:
- if (skb)
- kfree_skb(skb);
+ kfree_skb(skb);
release_sock(sk);