forked from luck/tmp_suning_uos_patched
e100: remove skb->dev assignment
Signed-off-by: Auke Kok <auke-jan.h.kok@intel.com>
This commit is contained in:
parent
b1d26f24e8
commit
859b039463
@ -1763,7 +1763,6 @@ static int e100_rx_alloc_skb(struct nic *nic, struct rx *rx)
|
|||||||
return -ENOMEM;
|
return -ENOMEM;
|
||||||
|
|
||||||
/* Align, init, and map the RFD. */
|
/* Align, init, and map the RFD. */
|
||||||
rx->skb->dev = nic->netdev;
|
|
||||||
skb_reserve(rx->skb, NET_IP_ALIGN);
|
skb_reserve(rx->skb, NET_IP_ALIGN);
|
||||||
memcpy(rx->skb->data, &nic->blank_rfd, sizeof(struct rfd));
|
memcpy(rx->skb->data, &nic->blank_rfd, sizeof(struct rfd));
|
||||||
rx->dma_addr = pci_map_single(nic->pdev, rx->skb->data,
|
rx->dma_addr = pci_map_single(nic->pdev, rx->skb->data,
|
||||||
|
Loading…
Reference in New Issue
Block a user