net: snmp: fix the wrong ICMP_MIB_MAX value
[pandora-kernel.git] / include / net / snmp.h
index a0e6180..aebb553 100644 (file)
@@ -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];
 };