Skip to content

Commit f072d7a

Browse files
Daniel Borkmanndavem330
authored andcommitted
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>
1 parent 30e514a commit f072d7a

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

‎include/net/sctp/sctp.h‎

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -188,11 +188,6 @@ extern struct kmem_cache *sctp_bucket_cachep __read_mostly;
188188
* Section: Macros, externs, and inlines
189189
*/
190190

191-
192-
#ifdef TEST_FRAME
193-
#include <test_frame.h>
194-
#else
195-
196191
/* spin lock wrappers. */
197192
#define sctp_spin_lock_irqsave(lock, flags) spin_lock_irqsave(lock, flags)
198193
#define sctp_spin_unlock_irqrestore(lock, flags) \
@@ -218,8 +213,6 @@ extern struct kmem_cache *sctp_bucket_cachep __read_mostly;
218213
#define SCTP_INC_STATS_USER(net, field) SNMP_INC_STATS_USER((net)->sctp.sctp_statistics, field)
219214
#define SCTP_DEC_STATS(net, field) SNMP_DEC_STATS((net)->sctp.sctp_statistics, field)
220215

221-
#endif /* !TEST_FRAME */
222-
223216
/* sctp mib definitions */
224217
enum {
225218
SCTP_MIB_NUM = 0,

0 commit comments

Comments
 (0)