diff options
author | Pavel Emelyanov <xemul@openvz.org> | 2008-07-15 08:02:09 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-07-15 08:05:26 +0200 |
commit | 43589aa93c9ce49f0e87a280014a4dd254b37fcf (patch) | |
tree | 7dc13b249298b7fe098b4471baf91aef182d0eec /include/net/icmp.h | |
parent | inet: toss struct net initialization around (diff) | |
download | linux-43589aa93c9ce49f0e87a280014a4dd254b37fcf.tar.xz linux-43589aa93c9ce49f0e87a280014a4dd254b37fcf.zip |
icmp: drop unused MIB accounting wrappers
There are ICMP_XXX_STATS that are not used in the kernel, so I remove
them, not to "just patch" them later. But if there's some sense in
keeping them, kick me - I will remake this set keeping them.
Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
-rw-r--r-- | include/net/icmp.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/net/icmp.h b/include/net/icmp.h index 38ca2f39db70..e34e981fe742 100644 --- a/include/net/icmp.h +++ b/include/net/icmp.h @@ -33,13 +33,8 @@ DECLARE_SNMP_STAT(struct icmp_mib, icmp_statistics); DECLARE_SNMP_STAT(struct icmpmsg_mib, icmpmsg_statistics); #define ICMP_INC_STATS(field) SNMP_INC_STATS(icmp_statistics, field) #define ICMP_INC_STATS_BH(field) SNMP_INC_STATS_BH(icmp_statistics, field) -#define ICMP_INC_STATS_USER(field) SNMP_INC_STATS_USER(icmp_statistics, field) #define ICMPMSGOUT_INC_STATS(field) SNMP_INC_STATS(icmpmsg_statistics, field+256) -#define ICMPMSGOUT_INC_STATS_BH(field) SNMP_INC_STATS_BH(icmpmsg_statistics, field+256) -#define ICMPMSGOUT_INC_STATS_USER(field) SNMP_INC_STATS_USER(icmpmsg_statistics, field+256) -#define ICMPMSGIN_INC_STATS(field) SNMP_INC_STATS(icmpmsg_statistics, field) #define ICMPMSGIN_INC_STATS_BH(field) SNMP_INC_STATS_BH(icmpmsg_statistics, field) -#define ICMPMSGIN_INC_STATS_USER(field) SNMP_INC_STATS_USER(icmpmsg_statistics, field) struct dst_entry; struct net_proto_family; |