summaryrefslogtreecommitdiffstats
path: root/include/net/ipv6.h
diff options
context:
space:
mode:
authorPavel Emelyanov <xemul@openvz.org>2007-12-07 23:56:57 -0800
committerDavid S. Miller <davem@davemloft.net>2008-01-28 14:56:55 -0800
commitcbbb90e68cd073b8d63b491166066e347902b7e9 (patch)
treeeabca27e8863d9f7ad9f258e0ffa75791affd404 /include/net/ipv6.h
parentb5e78337b50c0f3adda7faadb92f62bbdd5ffb56 (diff)
downloadop-kernel-dev-cbbb90e68cd073b8d63b491166066e347902b7e9.zip
op-kernel-dev-cbbb90e68cd073b8d63b491166066e347902b7e9.tar.gz
[SNMP]: Remove unused devconf macros.
The SNMP_INC_STATS_OFFSET_BH is used only by ICMP6_INC_STATS_OFFSET_BH. The ICMP6_INC_STATS_OFFSET_BH is unused. Signed-off-by: Pavel Emelyanov <xemul@openvz.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/ipv6.h')
-rw-r--r--include/net/ipv6.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/include/net/ipv6.h b/include/net/ipv6.h
index a84f3f6..38df94b5 100644
--- a/include/net/ipv6.h
+++ b/include/net/ipv6.h
@@ -143,14 +143,6 @@ DECLARE_SNMP_STAT(struct icmpv6msg_mib, icmpv6msg_statistics);
#define ICMP6_INC_STATS_BH(idev, field) _DEVINC(icmpv6, _BH, idev, field)
#define ICMP6_INC_STATS_USER(idev, field) _DEVINC(icmpv6, _USER, idev, field)
-#define ICMP6_INC_STATS_OFFSET_BH(idev, field, offset) ({ \
- struct inet6_dev *_idev = idev; \
- __typeof__(offset) _offset = (offset); \
- if (likely(_idev != NULL)) \
- SNMP_INC_STATS_OFFSET_BH(_idev->stats.icmpv6, field, _offset); \
- SNMP_INC_STATS_OFFSET_BH(icmpv6_statistics, field, _offset); \
-})
-
#define ICMP6MSGOUT_INC_STATS(idev, field) \
_DEVINC(icmpv6msg, , idev, field +256)
#define ICMP6MSGOUT_INC_STATS_BH(idev, field) \
OpenPOWER on IntegriCloud