mirror of
https://github.com/adulau/aha.git
synced 2024-12-29 12:16:20 +00:00
[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>
This commit is contained in:
parent
2774c7aba6
commit
4c94f8c0c9
1 changed files with 0 additions and 1 deletions
|
@ -154,7 +154,6 @@ static int loopback_xmit(struct sk_buff *skb, struct net_device *dev)
|
||||||
#endif
|
#endif
|
||||||
dev->last_rx = jiffies;
|
dev->last_rx = jiffies;
|
||||||
|
|
||||||
/* it's OK to use __get_cpu_var() because BHs are off */
|
|
||||||
pcpu_lstats = netdev_priv(dev);
|
pcpu_lstats = netdev_priv(dev);
|
||||||
lb_stats = per_cpu_ptr(pcpu_lstats, smp_processor_id());
|
lb_stats = per_cpu_ptr(pcpu_lstats, smp_processor_id());
|
||||||
lb_stats->bytes += skb->len;
|
lb_stats->bytes += skb->len;
|
||||||
|
|
Loading…
Reference in a new issue