]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
mib: drop unused TCP_XXX_STATS macros
authorPavel Emelyanov <xemul@openvz.org>
Thu, 17 Jul 2008 03:21:20 +0000 (20:21 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 17 Jul 2008 03:21:20 +0000 (20:21 -0700)
TCP_INC_STATS_USER and TCP_ADD_STATS_BH are currently unused.

Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/tcp.h

index 6b827cc6c52fc27fe71b994d0a7a6f53bf7cf15a..048f8de724c292d15748c7f4a7b7a86f5de11a57 100644 (file)
@@ -268,9 +268,7 @@ extern struct proto tcp_prot;
 DECLARE_SNMP_STAT(struct tcp_mib, tcp_statistics);
 #define TCP_INC_STATS(field)           SNMP_INC_STATS(tcp_statistics, field)
 #define TCP_INC_STATS_BH(field)                SNMP_INC_STATS_BH(tcp_statistics, field)
-#define TCP_INC_STATS_USER(field)      SNMP_INC_STATS_USER(tcp_statistics, field)
 #define TCP_DEC_STATS(field)           SNMP_DEC_STATS(tcp_statistics, field)
-#define TCP_ADD_STATS_BH(field, val)   SNMP_ADD_STATS_BH(tcp_statistics, field, val)
 #define TCP_ADD_STATS_USER(field, val) SNMP_ADD_STATS_USER(tcp_statistics, field, val)
 
 extern void                    tcp_v4_err(struct sk_buff *skb, u32);