at76c50x-usb: remove pointless conditional before kfree_skb()
Remove pointless conditional before kfree_skb(). Signed-off-by: Wei Yongjun <yjwei@cn.fujitsu.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
728a9972d1
commit
54cb2284dc
|
@ -2309,8 +2309,7 @@ static void at76_delete_device(struct at76_priv *priv)
|
|||
|
||||
del_timer_sync(&ledtrig_tx_timer);
|
||||
|
||||
if (priv->rx_skb)
|
||||
kfree_skb(priv->rx_skb);
|
||||
kfree_skb(priv->rx_skb);
|
||||
|
||||
usb_put_dev(priv->udev);
|
||||
|
||||
|
|
Loading…
Reference in New Issue