projects
/
platform
/
kernel
/
linux-3.10.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2774c7a
)
[NET]: Remove no longer relevant comment in loopback driver.
author
David S. Miller
<davem@sunset.davemloft.net>
Thu, 27 Sep 2007 05:11:56 +0000
(22:11 -0700)
committer
David S. Miller
<davem@sunset.davemloft.net>
Wed, 10 Oct 2007 23:52:49 +0000
(16:52 -0700)
It talks about __get_cpu_var() which the driver no longer
does.
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/loopback.c
patch
|
blob
|
history
diff --git
a/drivers/net/loopback.c
b/drivers/net/loopback.c
index
0f9d8c6
..
f11120b
100644
(file)
--- a/
drivers/net/loopback.c
+++ b/
drivers/net/loopback.c
@@
-154,7
+154,6
@@
static int loopback_xmit(struct sk_buff *skb, struct net_device *dev)
#endif
dev->last_rx = jiffies;
- /* it's OK to use __get_cpu_var() because BHs are off */
pcpu_lstats = netdev_priv(dev);
lb_stats = per_cpu_ptr(pcpu_lstats, smp_processor_id());
lb_stats->bytes += skb->len;