diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/wireless/at76c50x-usb.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/wireless/at76c50x-usb.c b/drivers/net/wireless/at76c50x-usb.c index 0c02f1c2bd94..c220c9758d09 100644 --- a/drivers/net/wireless/at76c50x-usb.c +++ b/drivers/net/wireless/at76c50x-usb.c | |||
@@ -2309,8 +2309,7 @@ static void at76_delete_device(struct at76_priv *priv) | |||
2309 | 2309 | ||
2310 | del_timer_sync(&ledtrig_tx_timer); | 2310 | del_timer_sync(&ledtrig_tx_timer); |
2311 | 2311 | ||
2312 | if (priv->rx_skb) | 2312 | kfree_skb(priv->rx_skb); |
2313 | kfree_skb(priv->rx_skb); | ||
2314 | 2313 | ||
2315 | usb_put_dev(priv->udev); | 2314 | usb_put_dev(priv->udev); |
2316 | 2315 | ||