@@ -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;
}
Signed-off-by: Micha? Miros?aw <mirq-linux@rere.qmqm.pl> --- drivers/net/wireless/b43/dma.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)