mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-04 00:06:36 +00:00
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
1 changed files with 1 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue