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

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

at76c50x-usb: remove pointless conditional before kfree_skb()



Remove pointless conditional before kfree_skb().

Signed-off-by: default avatarWei Yongjun <yjwei@cn.fujitsu.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 728a9972
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -2309,7 +2309,6 @@ static void at76_delete_device(struct at76_priv *priv)

	del_timer_sync(&ledtrig_tx_timer);

	if (priv->rx_skb)
	kfree_skb(priv->rx_skb);

	usb_put_dev(priv->udev);