mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-12 08:48:48 +00:00
8139cp: remove gratuitous indirection
dev is an argument of the current function. Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
This commit is contained in:
parent
3598b57be4
commit
c48e9399e8
@ -571,7 +571,7 @@ rx_status_loop:
|
||||
|
||||
if (netif_msg_rx_status(cp))
|
||||
printk(KERN_DEBUG "%s: rx slot %d status 0x%x len %d\n",
|
||||
cp->dev->name, rx_tail, status, len);
|
||||
dev->name, rx_tail, status, len);
|
||||
|
||||
buflen = cp->rx_buf_sz + RX_OFFSET;
|
||||
new_skb = dev_alloc_skb (buflen);
|
||||
@ -581,7 +581,7 @@ rx_status_loop:
|
||||
}
|
||||
|
||||
skb_reserve(new_skb, RX_OFFSET);
|
||||
new_skb->dev = cp->dev;
|
||||
new_skb->dev = dev;
|
||||
|
||||
pci_unmap_single(cp->pdev, mapping,
|
||||
buflen, PCI_DMA_FROMDEVICE);
|
||||
|
Loading…
x
Reference in New Issue
Block a user