From 55db0d84a8431363e3688a583d0114e8887246a7 Mon Sep 17 00:00:00 2001 From: Chris Friedt Date: Tue, 3 Dec 2024 09:15:42 -0500 Subject: [PATCH] tests: posix: threads_ext: remove stale comment For a long time now, it's been possible to call `pthread_attr_init()` and have it just to The Right Thing (TM) without having to statically assign a stack. Remove the stale comment and commented-out code. Signed-off-by: Chris Friedt --- tests/posix/threads_ext/src/main.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/tests/posix/threads_ext/src/main.c b/tests/posix/threads_ext/src/main.c index eb01ec6843e..501a424c1ca 100644 --- a/tests/posix/threads_ext/src/main.c +++ b/tests/posix/threads_ext/src/main.c @@ -132,9 +132,6 @@ static void before(void *arg) ARG_UNUSED(arg); zassert_ok(pthread_attr_init(&attr)); - /* TODO: pthread_attr_init() should be sufficient to initialize a thread by itself */ - /* zassert_ok(pthread_attr_setstack(&attr, &static_thread_stack, STATIC_THREAD_STACK_SIZE)); - */ attr_valid = true; }