projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3598b57
)
8139cp: remove gratuitous indirection
author
Francois Romieu
<romieu@fr.zoreil.com>
Sun, 29 Jan 2006 00:30:48 +0000
(
01:30
+0100)
committer
Francois Romieu
<romieu@fr.zoreil.com>
Thu, 31 Aug 2006 20:15:40 +0000
(22:15 +0200)
dev is an argument of the current function.
Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
drivers/net/8139cp.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/8139cp.c
b/drivers/net/8139cp.c
index 8f5d77923c7d0180d213c5ca23d59b6c1715c070..ae9bb7511d9005b27341f5417e8b3f28fbe9f7d5 100644
(file)
--- a/
drivers/net/8139cp.c
+++ b/
drivers/net/8139cp.c
@@
-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);