summaryrefslogtreecommitdiff
path: root/drivers/net/loopback.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@sunset.davemloft.net>2007-09-26 22:11:56 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2007-10-10 16:52:49 -0700
commit4c94f8c0c9a82fad84bc5df453aff755cfed70b7 (patch)
tree558fdec7718f5b254408f5cf4772477e0efa0447 /drivers/net/loopback.c
parent2774c7aba6c97a2535be3309a2209770953780b3 (diff)
downloadlwn-4c94f8c0c9a82fad84bc5df453aff755cfed70b7.tar.gz
lwn-4c94f8c0c9a82fad84bc5df453aff755cfed70b7.zip
[NET]: Remove no longer relevant comment in loopback driver.
It talks about __get_cpu_var() which the driver no longer does. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/loopback.c')
-rw-r--r--drivers/net/loopback.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/loopback.c b/drivers/net/loopback.c
index 0f9d8c60c964..f11120b7a3b2 100644
--- 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;