Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 194017
b: refs/heads/master
c: 33646d7
h: refs/heads/master
i:
  194015: 480f7c2
v: v3
  • Loading branch information
John Linn authored and David S. Miller committed Apr 13, 2010
1 parent 3242b52 commit 55fd1db
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ed85b565b825566da34e55eee9ad150ed93fdda0
refs/heads/master: 33646d7ff5f47225cbbf3a06597ded649bf34e8d
4 changes: 1 addition & 3 deletions trunk/drivers/net/ll_temac_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -612,7 +612,6 @@ static void ll_temac_recv(struct net_device *ndev)
struct cdmac_bd *cur_p;
dma_addr_t tail_p;
int length;
unsigned long skb_vaddr;
unsigned long flags;

spin_lock_irqsave(&lp->rx_lock, flags);
Expand All @@ -626,8 +625,7 @@ static void ll_temac_recv(struct net_device *ndev)
skb = lp->rx_skb[lp->rx_bd_ci];
length = cur_p->app4 & 0x3FFF;

skb_vaddr = virt_to_bus(skb->data);
dma_unmap_single(ndev->dev.parent, skb_vaddr, length,
dma_unmap_single(ndev->dev.parent, cur_p->phys, length,
DMA_FROM_DEVICE);

skb_put(skb, length);
Expand Down

0 comments on commit 55fd1db

Please sign in to comment.