diff options
Diffstat (limited to 'drivers/net/wireless/at76c50x-usb.c')
-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 744f4f4dd3d..69248ded510 100644 --- a/drivers/net/wireless/at76c50x-usb.c +++ b/drivers/net/wireless/at76c50x-usb.c | |||
@@ -2311,8 +2311,7 @@ static void at76_delete_device(struct at76_priv *priv) | |||
2311 | 2311 | ||
2312 | del_timer_sync(&ledtrig_tx_timer); | 2312 | del_timer_sync(&ledtrig_tx_timer); |
2313 | 2313 | ||
2314 | if (priv->rx_skb) | 2314 | kfree_skb(priv->rx_skb); |
2315 | kfree_skb(priv->rx_skb); | ||
2316 | 2315 | ||
2317 | usb_put_dev(priv->udev); | 2316 | usb_put_dev(priv->udev); |
2318 | 2317 | ||