diff options
Diffstat (limited to 'net/ipv6/ip6_tunnel.c')
-rw-r--r-- | net/ipv6/ip6_tunnel.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/net/ipv6/ip6_tunnel.c b/net/ipv6/ip6_tunnel.c index 424ed45ef122..8db4d9b7ab14 100644 --- a/net/ipv6/ip6_tunnel.c +++ b/net/ipv6/ip6_tunnel.c | |||
@@ -95,14 +95,6 @@ struct ip6_tnl_net { | |||
95 | struct ip6_tnl __rcu **tnls[2]; | 95 | struct ip6_tnl __rcu **tnls[2]; |
96 | }; | 96 | }; |
97 | 97 | ||
98 | /* often modified stats are per cpu, other are shared (netdev->stats) */ | ||
99 | struct pcpu_tstats { | ||
100 | unsigned long rx_packets; | ||
101 | unsigned long rx_bytes; | ||
102 | unsigned long tx_packets; | ||
103 | unsigned long tx_bytes; | ||
104 | } __attribute__((aligned(4*sizeof(unsigned long)))); | ||
105 | |||
106 | static struct net_device_stats *ip6_get_stats(struct net_device *dev) | 98 | static struct net_device_stats *ip6_get_stats(struct net_device *dev) |
107 | { | 99 | { |
108 | struct pcpu_tstats sum = { 0 }; | 100 | struct pcpu_tstats sum = { 0 }; |