diff options
Diffstat (limited to 'drivers/net/gianfar.c')
-rw-r--r-- | drivers/net/gianfar.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/gianfar.c b/drivers/net/gianfar.c index 11d8cae415e5..ea7d5ddb7760 100644 --- a/drivers/net/gianfar.c +++ b/drivers/net/gianfar.c | |||
@@ -1705,6 +1705,7 @@ static void free_skb_resources(struct gfar_private *priv) | |||
1705 | sizeof(struct rxbd8) * priv->total_rx_ring_size, | 1705 | sizeof(struct rxbd8) * priv->total_rx_ring_size, |
1706 | priv->tx_queue[0]->tx_bd_base, | 1706 | priv->tx_queue[0]->tx_bd_base, |
1707 | priv->tx_queue[0]->tx_bd_dma_base); | 1707 | priv->tx_queue[0]->tx_bd_dma_base); |
1708 | skb_queue_purge(&priv->rx_recycle); | ||
1708 | } | 1709 | } |
1709 | 1710 | ||
1710 | void gfar_start(struct net_device *dev) | 1711 | void gfar_start(struct net_device *dev) |
@@ -2185,7 +2186,6 @@ static int gfar_close(struct net_device *dev) | |||
2185 | 2186 | ||
2186 | disable_napi(priv); | 2187 | disable_napi(priv); |
2187 | 2188 | ||
2188 | skb_queue_purge(&priv->rx_recycle); | ||
2189 | cancel_work_sync(&priv->reset_task); | 2189 | cancel_work_sync(&priv->reset_task); |
2190 | stop_gfar(dev); | 2190 | stop_gfar(dev); |
2191 | 2191 | ||