diff options
author | David S. Miller <davem@sunset.davemloft.net> | 2007-09-27 01:11:56 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-10-10 19:52:49 -0400 |
commit | 4c94f8c0c9a82fad84bc5df453aff755cfed70b7 (patch) | |
tree | 558fdec7718f5b254408f5cf4772477e0efa0447 /drivers/net/loopback.c | |
parent | 2774c7aba6c97a2535be3309a2209770953780b3 (diff) |
[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.c | 1 |
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) | |||
154 | #endif | 154 | #endif |
155 | dev->last_rx = jiffies; | 155 | dev->last_rx = jiffies; |
156 | 156 | ||
157 | /* it's OK to use __get_cpu_var() because BHs are off */ | ||
158 | pcpu_lstats = netdev_priv(dev); | 157 | pcpu_lstats = netdev_priv(dev); |
159 | lb_stats = per_cpu_ptr(pcpu_lstats, smp_processor_id()); | 158 | lb_stats = per_cpu_ptr(pcpu_lstats, smp_processor_id()); |
160 | lb_stats->bytes += skb->len; | 159 | lb_stats->bytes += skb->len; |