diff options
author | Shan Wei <shanwei@cn.fujitsu.com> | 2010-12-10 06:49:23 -0500 |
---|---|---|
committer | Gerrit Renker <gerrit@erg.abdn.ac.uk> | 2010-12-10 06:49:23 -0500 |
commit | b7ec19af63b467e30189984fb24e6157603608e3 (patch) | |
tree | 670f4a450bd1a49072c0958a66e32fc8a349d9dc /net/dccp/dccp.h | |
parent | 84b3cdc38cd2882d7ac3c2ae4b6faf5c199874e3 (diff) |
dccp: remove unused macros
Remove macros which have been unused since the initial implementation
(commit 7c657876b63cb1d8a2ec06f8fc6c37bb8412e66c, [DCCP]: Initial
implementation from Tue Aug 9 20:14:34 2005 -0700).
Signed-off-by: Shan Wei <shanwei@cn.fujitsu.com>
Acked-by: Gerrit Renker <gerrit@erg.abdn.ac.uk>
Diffstat (limited to 'net/dccp/dccp.h')
-rw-r--r-- | net/dccp/dccp.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/net/dccp/dccp.h b/net/dccp/dccp.h index 48ad5d9da7cb..45087052d894 100644 --- a/net/dccp/dccp.h +++ b/net/dccp/dccp.h | |||
@@ -93,9 +93,6 @@ extern void dccp_time_wait(struct sock *sk, int state, int timeo); | |||
93 | #define DCCP_FALLBACK_RTT (USEC_PER_SEC / 5) | 93 | #define DCCP_FALLBACK_RTT (USEC_PER_SEC / 5) |
94 | #define DCCP_SANE_RTT_MAX (3 * USEC_PER_SEC) | 94 | #define DCCP_SANE_RTT_MAX (3 * USEC_PER_SEC) |
95 | 95 | ||
96 | /* Maximal interval between probes for local resources. */ | ||
97 | #define DCCP_RESOURCE_PROBE_INTERVAL ((unsigned)(HZ / 2U)) | ||
98 | |||
99 | /* sysctl variables for DCCP */ | 96 | /* sysctl variables for DCCP */ |
100 | extern int sysctl_dccp_request_retries; | 97 | extern int sysctl_dccp_request_retries; |
101 | extern int sysctl_dccp_retries1; | 98 | extern int sysctl_dccp_retries1; |
@@ -203,12 +200,7 @@ struct dccp_mib { | |||
203 | DECLARE_SNMP_STAT(struct dccp_mib, dccp_statistics); | 200 | DECLARE_SNMP_STAT(struct dccp_mib, dccp_statistics); |
204 | #define DCCP_INC_STATS(field) SNMP_INC_STATS(dccp_statistics, field) | 201 | #define DCCP_INC_STATS(field) SNMP_INC_STATS(dccp_statistics, field) |
205 | #define DCCP_INC_STATS_BH(field) SNMP_INC_STATS_BH(dccp_statistics, field) | 202 | #define DCCP_INC_STATS_BH(field) SNMP_INC_STATS_BH(dccp_statistics, field) |
206 | #define DCCP_INC_STATS_USER(field) SNMP_INC_STATS_USER(dccp_statistics, field) | ||
207 | #define DCCP_DEC_STATS(field) SNMP_DEC_STATS(dccp_statistics, field) | 203 | #define DCCP_DEC_STATS(field) SNMP_DEC_STATS(dccp_statistics, field) |
208 | #define DCCP_ADD_STATS_BH(field, val) \ | ||
209 | SNMP_ADD_STATS_BH(dccp_statistics, field, val) | ||
210 | #define DCCP_ADD_STATS_USER(field, val) \ | ||
211 | SNMP_ADD_STATS_USER(dccp_statistics, field, val) | ||
212 | 204 | ||
213 | /* | 205 | /* |
214 | * Checksumming routines | 206 | * Checksumming routines |