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:
Wei Yongjun 2009-04-08 22:16:38 +00:00 committed by David S. Miller
parent 728a9972d1
commit 54cb2284dc
1 changed files with 1 additions and 2 deletions

View File

@ -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);