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

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
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment