Signed-off-by: Michał Mirosław <mirq-linux@xxxxxxxxxxxx> --- drivers/net/wireless/b43/dma.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/net/wireless/b43/dma.c b/drivers/net/wireless/b43/dma.c index 15b11f0..ed78f14 100644 --- a/drivers/net/wireless/b43/dma.c +++ b/drivers/net/wireless/b43/dma.c @@ -592,7 +592,7 @@ static int setup_rx_descbuffer(struct b43_dmaring *ring, /* ugh. try to realloc in zone_dma */ gfp_flags |= GFP_DMA; - dev_kfree_skb_any(skb); + kfree_skb(skb); skb = __dev_alloc_skb(ring->rx_buffersize, gfp_flags); if (unlikely(!skb)) @@ -602,7 +602,7 @@ static int setup_rx_descbuffer(struct b43_dmaring *ring, ring->rx_buffersize, 0); if (b43_dma_mapping_error(ring, dmaaddr, ring->rx_buffersize, 0)) { b43err(ring->dev->wl, "RX DMA buffer allocation failed\n"); - dev_kfree_skb_any(skb); + kfree_skb(skb); return -EIO; } } @@ -645,7 +645,7 @@ static int alloc_initial_descbuffers(struct b43_dmaring *ring) desc = ring->ops->idx2desc(ring, i, &meta); unmap_descbuffer(ring, meta->dmaaddr, ring->rx_buffersize, 0); - dev_kfree_skb(meta->skb); + kfree_skb(meta->skb); } goto out; } -- 1.7.5.4 -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html