Skip to content

Commit

Permalink
sctp: Clean up TEST_FRAME hacks.
Browse files Browse the repository at this point in the history
Remove 2 TEST_FRAME hacks that are no longer needed.  These allowed
sctp regression tests to compile before, but are no longer needed.

Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Vlad Yasevich authored and David S. Miller committed Mar 21, 2009
1 parent 09a3b1f commit 8d2f9e8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
7 changes: 0 additions & 7 deletions include/net/sctp/sctp.h
Original file line number Diff line number Diff line change
Expand Up @@ -62,13 +62,6 @@
* and will continue to evolve.
*/



#ifdef TEST_FRAME
#undef CONFIG_SCTP_DBG_OBJCNT
#undef CONFIG_SYSCTL
#endif /* TEST_FRAME */

#include <linux/types.h>
#include <linux/slab.h>
#include <linux/in.h>
Expand Down
5 changes: 1 addition & 4 deletions net/sctp/output.c
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,10 @@
#include <linux/ipv6.h>
#include <linux/init.h>
#include <net/inet_ecn.h>
#include <net/ip.h>
#include <net/icmp.h>
#include <net/net_namespace.h>

#ifndef TEST_FRAME
#include <net/tcp.h>
#endif /* TEST_FRAME (not defined) */

#include <linux/socket.h> /* for sa_family_t */
#include <net/sock.h>

Expand Down

0 comments on commit 8d2f9e8

Please sign in to comment.