test_thread_init.c: fix build error

Fix build error (picked by GCC 6.x):

    error: ‘stack_size’ defined but not used [-Werror=unused-const-variable=]

Change-Id: I402324fedaea9d0a10ee6533ba957ce18fa0fb83
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
This commit is contained in:
Juro Bystricky 2017-01-03 09:21:31 -08:00 committed by Andrew Boie
parent 9a36cb6456
commit 5ec3a7d04a
1 changed files with 0 additions and 2 deletions

View File

@ -51,8 +51,6 @@
static void thread_entry(void *p1, void *p2, void *p3);
static const int stack_size = 500;
K_THREAD_DEFINE(T_KDEFINE_COOP_THREAD, INIT_COOP_STACK_SIZE,
thread_entry, INIT_COOP_P1, INIT_COOP_P2, INIT_COOP_P3,
INIT_COOP_PRIO, INIT_COOP_OPTION, INIT_COOP_DELAY);