summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/net/snmp.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/net/snmp.h b/include/net/snmp.h
index a0e61806d480..aebb55383c43 100644
--- a/include/net/snmp.h
+++ b/include/net/snmp.h
@@ -61,8 +61,7 @@ struct ipstats_mib {
/* ICMP */
#define ICMP_MIB_DUMMY __ICMP_MIB_MAX
-#define ICMP_MIB_MAX (__ICMP_MIB_MAX + 1)
-
+#define ICMP_MIB_MAX __ICMP_MIB_MAX
struct icmp_mib {
unsigned long mibs[ICMP_MIB_MAX];
};