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>
This commit is contained in:
Wei Yongjun 2009-02-25 00:39:01 +00:00 committed by David S. Miller
parent f3fbbe0f6f
commit db849df63c
1 changed files with 1 additions and 2 deletions

View File

@ -2071,7 +2071,6 @@ static int dn_sendmsg(struct kiocb *iocb, struct socket *sock,
}
out:
if (skb)
kfree_skb(skb);
release_sock(sk);