Staging: 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: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
Wei Yongjun
2009-02-25 18:26:33 +08:00
committed by Greg Kroah-Hartman
parent bbe364dded
commit 0773a5c076
2 changed files with 2 additions and 4 deletions
+1 -2
View File
@@ -971,8 +971,7 @@ int zfLnxCencSendMsg(struct sock *netlink_sk, u_int8_t *msg, int len)
out:
return ret;
nlmsg_failure: /*NLMSG_PUT 失败,则撤销套接字缓存*/
if(skb)
kfree_skb(skb);
kfree_skb(skb);
goto out;
#undef COMMTYPE_GROUP