aboutsummaryrefslogtreecommitdiff
path: root/drivers/staging/otus/wwrap.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/staging/otus/wwrap.c')
-rw-r--r--drivers/staging/otus/wwrap.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/otus/wwrap.c b/drivers/staging/otus/wwrap.c
index 1bb5f596d6c..a0b1e0b452d 100644
--- a/drivers/staging/otus/wwrap.c
+++ b/drivers/staging/otus/wwrap.c
@@ -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