commit | db849df63cdc95e0345b1f4bcf8bbfa19ef592b6 | [log] [tgz] |
---|---|---|
author | Wei Yongjun <yjwei@cn.fujitsu.com> | Wed Feb 25 00:39:01 2009 +0000 |
committer | David S. Miller <davem@davemloft.net> | Thu Feb 26 23:07:36 2009 -0800 |
tree | b514c99af60c3e239d0bae2ffa8b5ca740404efd | |
parent | f3fbbe0f6f6cbac4c2aa3d71d95e49cf148286d6 [diff] |
decnet: 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>
diff --git a/net/decnet/af_decnet.c b/net/decnet/af_decnet.c index 12bf7d4..963da86 100644 --- a/net/decnet/af_decnet.c +++ b/net/decnet/af_decnet.c
@@ -2071,8 +2071,7 @@ } out: - if (skb) - kfree_skb(skb); + kfree_skb(skb); release_sock(sk);