[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>
This commit is contained in:
committed by
David S. Miller
parent
b5e78337b5
commit
cbbb90e68c
@@ -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) \
|
||||
|
||||
Reference in New Issue
Block a user