diff options
Diffstat (limited to 'include/net/ipv6.h')
-rw-r--r-- | include/net/ipv6.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/include/net/ipv6.h b/include/net/ipv6.h index a84f3f697a34..38df94b5fb26 100644 --- a/include/net/ipv6.h +++ b/include/net/ipv6.h | |||
@@ -143,14 +143,6 @@ DECLARE_SNMP_STAT(struct icmpv6msg_mib, icmpv6msg_statistics); | |||
143 | #define ICMP6_INC_STATS_BH(idev, field) _DEVINC(icmpv6, _BH, idev, field) | 143 | #define ICMP6_INC_STATS_BH(idev, field) _DEVINC(icmpv6, _BH, idev, field) |
144 | #define ICMP6_INC_STATS_USER(idev, field) _DEVINC(icmpv6, _USER, idev, field) | 144 | #define ICMP6_INC_STATS_USER(idev, field) _DEVINC(icmpv6, _USER, idev, field) |
145 | 145 | ||
146 | #define ICMP6_INC_STATS_OFFSET_BH(idev, field, offset) ({ \ | ||
147 | struct inet6_dev *_idev = idev; \ | ||
148 | __typeof__(offset) _offset = (offset); \ | ||
149 | if (likely(_idev != NULL)) \ | ||
150 | SNMP_INC_STATS_OFFSET_BH(_idev->stats.icmpv6, field, _offset); \ | ||
151 | SNMP_INC_STATS_OFFSET_BH(icmpv6_statistics, field, _offset); \ | ||
152 | }) | ||
153 | |||
154 | #define ICMP6MSGOUT_INC_STATS(idev, field) \ | 146 | #define ICMP6MSGOUT_INC_STATS(idev, field) \ |
155 | _DEVINC(icmpv6msg, , idev, field +256) | 147 | _DEVINC(icmpv6msg, , idev, field +256) |
156 | #define ICMP6MSGOUT_INC_STATS_BH(idev, field) \ | 148 | #define ICMP6MSGOUT_INC_STATS_BH(idev, field) \ |