From cbbb90e68cd073b8d63b491166066e347902b7e9 Mon Sep 17 00:00:00 2001 From: Pavel Emelyanov Date: Fri, 7 Dec 2007 23:56:57 -0800 Subject: [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 Signed-off-by: David S. Miller --- include/net/snmp.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'include/net/snmp.h') 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 { #define SNMP_INC_STATS_BH(mib, field) \ (per_cpu_ptr(mib[0], raw_smp_processor_id())->mibs[field]++) -#define SNMP_INC_STATS_OFFSET_BH(mib, field, offset) \ - (per_cpu_ptr(mib[0], raw_smp_processor_id())->mibs[field + (offset)]++) #define SNMP_INC_STATS_USER(mib, field) \ (per_cpu_ptr(mib[1], raw_smp_processor_id())->mibs[field]++) #define SNMP_INC_STATS(mib, field) \ -- cgit