Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c71a2699 authored by Wei Yongjun's avatar Wei Yongjun Committed by David S. Miller
Browse files

i2400m: remove some pointless conditionals before kfree_skb()



Remove some pointless conditionals before kfree_skb().

Signed-off-by: default avatarWei Yongjun <yjwei@cn.fujitsu.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent aaff1e19
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -177,7 +177,6 @@ void i2400m_rx_ctl_ack(struct i2400m *i2400m,
	return;

error_waiter_cancelled:
	if (ack_skb)
	kfree_skb(ack_skb);
error_no_waiter:
	spin_unlock_irqrestore(&i2400m->rx_lock, flags);