aboutsummaryrefslogtreecommitdiff
path: root/utils/sctp/func_tests/test_1_to_1_connectx.c
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-06-15 21:41:18 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-06-15 21:41:18 +0000
commit5c21103a7879ec9442c7fa201a36253ebd8b0574 (patch)
treedc99b8d2649bf2bbdb34cad32c778ac254a47634 /utils/sctp/func_tests/test_1_to_1_connectx.c
parentb265ce6306bd119cb7e268984ff5a911d9e66b63 (diff)
parentfbaa68575f181ac6660fdec2a4bc270f5d718980 (diff)
downloadltp-aml_tz3_314012010.tar.gz
Change-Id: Id56cc2327dab675aa8f2cfbbcfd1c1ba981aeb7a
Diffstat (limited to 'utils/sctp/func_tests/test_1_to_1_connectx.c')
-rw-r--r--utils/sctp/func_tests/test_1_to_1_connectx.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/utils/sctp/func_tests/test_1_to_1_connectx.c b/utils/sctp/func_tests/test_1_to_1_connectx.c
index 16479a818..04e20bf1b 100644
--- a/utils/sctp/func_tests/test_1_to_1_connectx.c
+++ b/utils/sctp/func_tests/test_1_to_1_connectx.c
@@ -58,7 +58,6 @@
#include <sys/uio.h>
#include <netinet/sctp.h>
#include "sctputil.h"
-#include "tst_kernel.h"
char *TCID = __FILE__;
int TST_TOTAL = 10;
@@ -67,7 +66,7 @@ int TST_CNT = 0;
#define SK_MAX 10
int
-main(void)
+main(int argc, char *argv[])
{
int error,i;
socklen_t len;
@@ -77,9 +76,6 @@ main(void)
struct sockaddr_in conn_addr,lstn_addr,acpt_addr;
struct sockaddr *tmp_addr;
- if (tst_check_driver("sctp"))
- tst_brkm(TCONF, tst_exit, "sctp driver not available");
-
/* Rather than fflush() throughout the code, set stdout to
* be unbuffered.
*/