aboutsummaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorDaniel Borkmann <dborkman@redhat.com>2013-06-25 12:17:25 -0400
committerDavid S. Miller <davem@davemloft.net>2013-06-25 19:33:04 -0400
commitf072d7aba79c73c3bb4ff1a9b58be5525d755d27 (patch)
treeacff9a9397c0197dcc9f20629fc8431602882d78 /include/net
parent30e514a71753ac3fd0ddea1411d5602ccbe14acf (diff)
net: sctp: remove TEST_FRAME ifdef
We do neither ship a test_frame.h, nor will this be compatible with the 2.5 out-of-tree lksctp kernel test suite anyway. So remove this artefact. Signed-off-by: Daniel Borkmann <dborkman@redhat.com> Acked-by: Vlad Yasevich <vyasevich@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/sctp/sctp.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/include/net/sctp/sctp.h b/include/net/sctp/sctp.h
index 6321c081118f..15214a825f92 100644
--- a/include/net/sctp/sctp.h
+++ b/include/net/sctp/sctp.h
@@ -188,11 +188,6 @@ extern struct kmem_cache *sctp_bucket_cachep __read_mostly;
188 * Section: Macros, externs, and inlines 188 * Section: Macros, externs, and inlines
189 */ 189 */
190 190
191
192#ifdef TEST_FRAME
193#include <test_frame.h>
194#else
195
196/* spin lock wrappers. */ 191/* spin lock wrappers. */
197#define sctp_spin_lock_irqsave(lock, flags) spin_lock_irqsave(lock, flags) 192#define sctp_spin_lock_irqsave(lock, flags) spin_lock_irqsave(lock, flags)
198#define sctp_spin_unlock_irqrestore(lock, flags) \ 193#define sctp_spin_unlock_irqrestore(lock, flags) \
@@ -218,8 +213,6 @@ extern struct kmem_cache *sctp_bucket_cachep __read_mostly;
218#define SCTP_INC_STATS_USER(net, field) SNMP_INC_STATS_USER((net)->sctp.sctp_statistics, field) 213#define SCTP_INC_STATS_USER(net, field) SNMP_INC_STATS_USER((net)->sctp.sctp_statistics, field)
219#define SCTP_DEC_STATS(net, field) SNMP_DEC_STATS((net)->sctp.sctp_statistics, field) 214#define SCTP_DEC_STATS(net, field) SNMP_DEC_STATS((net)->sctp.sctp_statistics, field)
220 215
221#endif /* !TEST_FRAME */
222
223/* sctp mib definitions */ 216/* sctp mib definitions */
224enum { 217enum {
225 SCTP_MIB_NUM = 0, 218 SCTP_MIB_NUM = 0,