aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wimax
diff options
context:
space:
mode:
authorWei Yongjun <yjwei@cn.fujitsu.com>2009-02-24 19:20:29 -0500
committerDavid S. Miller <davem@davemloft.net>2009-02-27 02:07:31 -0500
commitc71a2699c511623e0520c754cfc109c191bf64e2 (patch)
treec1aea5c16e623863f082dc343d2502d8932aa874 /drivers/net/wimax
parentaaff1e1904f787579778a1818f0891c91ae22ec0 (diff)
i2400m: 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: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/wimax')
-rw-r--r--drivers/net/wimax/i2400m/rx.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/wimax/i2400m/rx.c b/drivers/net/wimax/i2400m/rx.c
index 6922022710ac..c62b8c564161 100644
--- 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,
177 return; 177 return;
178 178
179error_waiter_cancelled: 179error_waiter_cancelled:
180 if (ack_skb) 180 kfree_skb(ack_skb);
181 kfree_skb(ack_skb);
182error_no_waiter: 181error_no_waiter:
183 spin_unlock_irqrestore(&i2400m->rx_lock, flags); 182 spin_unlock_irqrestore(&i2400m->rx_lock, flags);
184 return; 183 return;