Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 315096
b: refs/heads/master
c: eb716c5
h: refs/heads/master
v: v3
  • Loading branch information
Jon Mason authored and David S. Miller committed Jul 11, 2012
1 parent 2406b2b commit 9c0c171
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 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: c768b681f4d786721ad56e800358ddab2abb9af1
refs/heads/master: eb716c54b1c71ad28ab20461bff831bd481066c4
2 changes: 0 additions & 2 deletions trunk/drivers/net/ethernet/sun/sunbmac.c
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,6 @@ static void bigmac_init_rings(struct bigmac *bp, int from_irq)
continue;

bp->rx_skbs[i] = skb;
skb->dev = dev;

/* Because we reserve afterwards. */
skb_put(skb, ETH_FRAME_LEN);
Expand Down Expand Up @@ -838,7 +837,6 @@ static void bigmac_rx(struct bigmac *bp)
RX_BUF_ALLOC_SIZE - 34,
DMA_FROM_DEVICE);
bp->rx_skbs[elem] = new_skb;
new_skb->dev = bp->dev;
skb_put(new_skb, ETH_FRAME_LEN);
skb_reserve(new_skb, 34);
this->rx_addr =
Expand Down

0 comments on commit 9c0c171

Please sign in to comment.