Skip to content

Commit ac04889

Browse files
stephanosiocarlescufi
authored andcommitted
samples: kernel: condition_variables: Remove unneeded tstack extern
This commit removes the `tstack` symbol extern that is not used anywhere in this sample. Signed-off-by: Stephanos Ioannidis <[email protected]>
1 parent 19ba592 commit ac04889

File tree

2 files changed

+0
-2
lines changed
  • samples/kernel/condition_variables

2 files changed

+0
-2
lines changed

samples/kernel/condition_variables/condvar/src/main.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ K_CONDVAR_DEFINE(count_threshold_cv);
1818

1919
#define STACK_SIZE (1024 + CONFIG_TEST_EXTRA_STACK_SIZE)
2020

21-
K_THREAD_STACK_EXTERN(tstack);
2221
K_THREAD_STACK_ARRAY_DEFINE(tstacks, NUM_THREADS, STACK_SIZE);
2322

2423
static struct k_thread t[NUM_THREADS];

samples/kernel/condition_variables/simple/src/main.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
#define NUM_THREADS 20
1212
#define STACK_SIZE (1024 + CONFIG_TEST_EXTRA_STACK_SIZE)
1313

14-
K_THREAD_STACK_EXTERN(tstack);
1514
K_THREAD_STACK_ARRAY_DEFINE(tstacks, NUM_THREADS, STACK_SIZE);
1615

1716
static struct k_thread t[NUM_THREADS];

0 commit comments

Comments
 (0)