diff options
Diffstat (limited to 'drivers/infiniband/hw/amso1100/c2.c')
-rw-r--r-- | drivers/infiniband/hw/amso1100/c2.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/infiniband/hw/amso1100/c2.c b/drivers/infiniband/hw/amso1100/c2.c index 6a8f36e9d9ed..6e85a75289e8 100644 --- a/drivers/infiniband/hw/amso1100/c2.c +++ b/drivers/infiniband/hw/amso1100/c2.c | |||
@@ -803,8 +803,7 @@ static int c2_xmit_frame(struct sk_buff *skb, struct net_device *netdev) | |||
803 | skb_frag_t *frag = &skb_shinfo(skb)->frags[i]; | 803 | skb_frag_t *frag = &skb_shinfo(skb)->frags[i]; |
804 | maplen = frag->size; | 804 | maplen = frag->size; |
805 | mapaddr = skb_frag_dma_map(&c2dev->pcidev->dev, frag, | 805 | mapaddr = skb_frag_dma_map(&c2dev->pcidev->dev, frag, |
806 | 0, maplen, | 806 | 0, maplen, DMA_TO_DEVICE); |
807 | PCI_DMA_TODEVICE); | ||
808 | elem = elem->next; | 807 | elem = elem->next; |
809 | elem->skb = NULL; | 808 | elem->skb = NULL; |
810 | elem->mapaddr = mapaddr; | 809 | elem->mapaddr = mapaddr; |