aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/snmp.h
diff options
context:
space:
mode:
authorPavel Emelyanov <xemul@openvz.org>2007-12-08 02:56:57 -0500
committerDavid S. Miller <davem@davemloft.net>2008-01-28 17:56:55 -0500
commitcbbb90e68cd073b8d63b491166066e347902b7e9 (patch)
treeeabca27e8863d9f7ad9f258e0ffa75791affd404 /include/net/snmp.h
parentb5e78337b50c0f3adda7faadb92f62bbdd5ffb56 (diff)
[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/snmp.h')
-rw-r--r--include/net/snmp.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/net/snmp.h b/include/net/snmp.h
index ea206bff0dc4..9c5793db637f 100644
--- a/include/net/snmp.h
+++ b/include/net/snmp.h
@@ -134,8 +134,6 @@ struct linux_mib {
134 134
135#define SNMP_INC_STATS_BH(mib, field) \ 135#define SNMP_INC_STATS_BH(mib, field) \
136 (per_cpu_ptr(mib[0], raw_smp_processor_id())->mibs[field]++) 136 (per_cpu_ptr(mib[0], raw_smp_processor_id())->mibs[field]++)
137#define SNMP_INC_STATS_OFFSET_BH(mib, field, offset) \
138 (per_cpu_ptr(mib[0], raw_smp_processor_id())->mibs[field + (offset)]++)
139#define SNMP_INC_STATS_USER(mib, field) \ 137#define SNMP_INC_STATS_USER(mib, field) \
140 (per_cpu_ptr(mib[1], raw_smp_processor_id())->mibs[field]++) 138 (per_cpu_ptr(mib[1], raw_smp_processor_id())->mibs[field]++)
141#define SNMP_INC_STATS(mib, field) \ 139#define SNMP_INC_STATS(mib, field) \