projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aaff1e1
)
i2400m: remove some pointless conditionals before kfree_skb()
author
Wei Yongjun
<yjwei@cn.fujitsu.com>
Wed, 25 Feb 2009 00:20:29 +0000
(
00:20
+0000)
committer
David S. Miller
<davem@davemloft.net>
Fri, 27 Feb 2009 07:07:31 +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>
drivers/net/wimax/i2400m/rx.c
patch
|
blob
|
history
diff --git
a/drivers/net/wimax/i2400m/rx.c
b/drivers/net/wimax/i2400m/rx.c
index 6922022710ac584371ff9d35e24f0d8e6711c7e7..c62b8c564161b566995484470100de6773244467 100644
(file)
--- a/
drivers/net/wimax/i2400m/rx.c
+++ b/
drivers/net/wimax/i2400m/rx.c
@@
-177,8
+177,7
@@
void i2400m_rx_ctl_ack(struct i2400m *i2400m,
return;
error_waiter_cancelled:
- if (ack_skb)
- kfree_skb(ack_skb);
+ kfree_skb(ack_skb);
error_no_waiter:
spin_unlock_irqrestore(&i2400m->rx_lock, flags);
return;