Skip to content

Commit 4634193

Browse files
moonlight83340cfriedt
authored andcommitted
arch: xtensa: core: thread: mark unused function argument
Use ARG_UNUSED() to mark unused function argument. Signed-off-by: Gaetan Perrot <[email protected]>
1 parent f997d7e commit 4634193

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

arch/xtensa/core/thread.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,12 +134,15 @@ void arch_new_thread(struct k_thread *thread, k_thread_stack_t *stack,
134134
#if defined(CONFIG_FPU) && defined(CONFIG_FPU_SHARING)
135135
int arch_float_disable(struct k_thread *thread)
136136
{
137+
ARG_UNUSED(thread);
137138
/* xtensa always has FPU enabled so cannot be disabled */
138139
return -ENOTSUP;
139140
}
140141

141142
int arch_float_enable(struct k_thread *thread, unsigned int options)
142143
{
144+
ARG_UNUSED(thread);
145+
ARG_UNUSED(options);
143146
/* xtensa always has FPU enabled so nothing to do here */
144147
return 0;
145148
}

0 commit comments

Comments
 (0)