Skip to content

Commit

Permalink
net: sctp: remove TEST_FRAME ifdef
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Daniel Borkmann authored and David S. Miller committed Jun 25, 2013
1 parent 30e514a commit f072d7a
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions include/net/sctp/sctp.h
Original file line number Diff line number Diff line change
Expand Up @@ -188,11 +188,6 @@ extern struct kmem_cache *sctp_bucket_cachep __read_mostly;
* Section: Macros, externs, and inlines
*/


#ifdef TEST_FRAME
#include <test_frame.h>
#else

/* spin lock wrappers. */
#define sctp_spin_lock_irqsave(lock, flags) spin_lock_irqsave(lock, flags)
#define sctp_spin_unlock_irqrestore(lock, flags) \
Expand All @@ -218,8 +213,6 @@ extern struct kmem_cache *sctp_bucket_cachep __read_mostly;
#define SCTP_INC_STATS_USER(net, field) SNMP_INC_STATS_USER((net)->sctp.sctp_statistics, field)
#define SCTP_DEC_STATS(net, field) SNMP_DEC_STATS((net)->sctp.sctp_statistics, field)

#endif /* !TEST_FRAME */

/* sctp mib definitions */
enum {
SCTP_MIB_NUM = 0,
Expand Down

0 comments on commit f072d7a

Please sign in to comment.