diff options
author | Wei Yongjun <yjwei@cn.fujitsu.com> | 2009-02-25 10:26:33 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-04-03 21:54:26 (GMT) |
commit | 0773a5c07641ddef7f94636292921e12f2efab02 (patch) | |
tree | 2a370e53136449fb5f8893c1db204e97a58733e5 /drivers/staging/otus | |
parent | bbe364ddedd84ee5a4bec65fa0ca56caf09d6802 (diff) | |
download | linux-fsl-qoriq-0773a5c07641ddef7f94636292921e12f2efab02.tar.xz |
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>
Diffstat (limited to 'drivers/staging/otus')
-rw-r--r-- | drivers/staging/otus/wwrap.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/otus/wwrap.c b/drivers/staging/otus/wwrap.c index 1bb5f59..a0b1e0b 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 |