From: Wei Yongjun Date: Wed, 25 Feb 2009 00:20:29 +0000 (+0000) Subject: i2400m: remove some pointless conditionals before kfree_skb() X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=c71a2699c511623e0520c754cfc109c191bf64e2;p=openwrt%2Fstaging%2Fblogic.git i2400m: remove some pointless conditionals before kfree_skb() Remove some pointless conditionals before kfree_skb(). Signed-off-by: Wei Yongjun Signed-off-by: David S. Miller --- 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, 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;