OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
db849df
)
iucv: remove some pointless conditionals before kfree_skb()
author
Wei Yongjun
<yjwei@cn.fujitsu.com>
Wed, 25 Feb 2009 00:41:03 +0000
(
00:41
+0000)
committer
David S. Miller
<davem@davemloft.net>
Fri, 27 Feb 2009 07:07:37 +0000
(23:07 -0800)
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>
net/iucv/af_iucv.c
patch
|
blob
|
history
diff --git
a/net/iucv/af_iucv.c
b/net/iucv/af_iucv.c
index
eb8a2a0
..
49e7865
100644
(file)
--- a/
net/iucv/af_iucv.c
+++ b/
net/iucv/af_iucv.c
@@
-1171,8
+1171,7
@@
static void iucv_callback_txdone(struct iucv_path *path,
spin_unlock_irqrestore(&list->lock, flags);
- if (this)
- kfree_skb(this);
+ kfree_skb(this);
}
BUG_ON(!this);