From c7e793dca7719698717314ea876e3b489a47bdc1 Mon Sep 17 00:00:00 2001 From: Ludwig Ortmann Date: Wed, 9 Jul 2014 07:16:02 +0200 Subject: [PATCH] test: remove superfluous stack size defines --- tests/test_thread_basic/main.c | 4 +--- tests/test_thread_cooperation/main.c | 3 +-- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/tests/test_thread_basic/main.c b/tests/test_thread_basic/main.c index 84415c9f77..dbd6ac7363 100644 --- a/tests/test_thread_basic/main.c +++ b/tests/test_thread_basic/main.c @@ -23,9 +23,7 @@ #include #include -#define STACK_SIZE (KERNEL_CONF_STACKSIZE_DEFAULT + KERNEL_CONF_STACKSIZE_MAIN) - -char t2_stack[STACK_SIZE]; +char t2_stack[KERNEL_CONF_STACKSIZE_MAIN]; void second_thread(void) { diff --git a/tests/test_thread_cooperation/main.c b/tests/test_thread_cooperation/main.c index b1200e635c..d03a8d2142 100644 --- a/tests/test_thread_cooperation/main.c +++ b/tests/test_thread_cooperation/main.c @@ -25,7 +25,6 @@ #include #include -#define STACK_SIZE (KERNEL_CONF_STACKSIZE_MAIN) #define PROBLEM 12 mutex_t mtx; @@ -33,7 +32,7 @@ mutex_t mtx; volatile int storage = 1; int main_id; int ths[PROBLEM]; -char stacks[PROBLEM][STACK_SIZE]; +char stacks[PROBLEM][KERNEL_CONF_STACKSIZE_MAIN]; void run(void) {