Message ID | 20090812171333.GD3116@redhat.com |
---|---|
State | Not Applicable, archived |
Delegated to: | David Miller |
Headers | show |
diff --git a/drivers/net/8139cp.c b/drivers/net/8139cp.c index 07919d0..065c9c3 100644 --- a/drivers/net/8139cp.c +++ b/drivers/net/8139cp.c @@ -556,8 +556,6 @@ rx_status_loop: goto rx_next; } - skb_reserve(new_skb, NET_IP_ALIGN); - dma_unmap_single(&cp->pdev->dev, mapping, buflen, PCI_DMA_FROMDEVICE); @@ -1061,8 +1059,6 @@ static int cp_refill_rx(struct cp_private *cp) if (!skb) goto err_out; - skb_reserve(skb, NET_IP_ALIGN); - mapping = dma_map_single(&cp->pdev->dev, skb->data, cp->rx_buf_sz, PCI_DMA_FROMDEVICE); cp->rx_skb[i] = skb;