提交 54cb2284 编写于 作者: W Wei Yongjun 提交者: David S. Miller

at76c50x-usb: remove pointless conditional before kfree_skb()

Remove pointless conditional before kfree_skb().
Signed-off-by: NWei Yongjun <yjwei@cn.fujitsu.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 728a9972
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册