Skip to content

Commit 55db0d8

Browse files
cfriedtkartben
authored andcommitted
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 <[email protected]>
1 parent 7c12e86 commit 55db0d8

File tree

1 file changed

+0
-3
lines changed
  • tests/posix/threads_ext/src

1 file changed

+0
-3
lines changed

tests/posix/threads_ext/src/main.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -132,9 +132,6 @@ static void before(void *arg)
132132
ARG_UNUSED(arg);
133133

134134
zassert_ok(pthread_attr_init(&attr));
135-
/* TODO: pthread_attr_init() should be sufficient to initialize a thread by itself */
136-
/* zassert_ok(pthread_attr_setstack(&attr, &static_thread_stack, STATIC_THREAD_STACK_SIZE));
137-
*/
138135
attr_valid = true;
139136
}
140137

0 commit comments

Comments
 (0)