diff options
author | Auke Kok <auke\-jan.h.kok@intel.com> | 2006-08-31 17:27:49 -0400 |
---|---|---|
committer | Auke Kok <juke-jan.h.kok@intel.com> | 2006-08-31 17:27:49 -0400 |
commit | 859b039463d7584afb4e25e950bf6dd58460add8 (patch) | |
tree | f47e8a0df7177670401b526d64e6eb8fb1c69807 /drivers/net/e100.c | |
parent | b1d26f24e864204dfaa82b1252477e981ba9ef24 (diff) |
e100: remove skb->dev assignment
Signed-off-by: Auke Kok <auke-jan.h.kok@intel.com>
Diffstat (limited to 'drivers/net/e100.c')
-rw-r--r-- | drivers/net/e100.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/e100.c b/drivers/net/e100.c index e12cc68deaa4..356661a13c3e 100644 --- a/drivers/net/e100.c +++ b/drivers/net/e100.c | |||
@@ -1763,7 +1763,6 @@ static int e100_rx_alloc_skb(struct nic *nic, struct rx *rx) | |||
1763 | return -ENOMEM; | 1763 | return -ENOMEM; |
1764 | 1764 | ||
1765 | /* Align, init, and map the RFD. */ | 1765 | /* Align, init, and map the RFD. */ |
1766 | rx->skb->dev = nic->netdev; | ||
1767 | skb_reserve(rx->skb, NET_IP_ALIGN); | 1766 | skb_reserve(rx->skb, NET_IP_ALIGN); |
1768 | memcpy(rx->skb->data, &nic->blank_rfd, sizeof(struct rfd)); | 1767 | memcpy(rx->skb->data, &nic->blank_rfd, sizeof(struct rfd)); |
1769 | rx->dma_addr = pci_map_single(nic->pdev, rx->skb->data, | 1768 | rx->dma_addr = pci_map_single(nic->pdev, rx->skb->data, |