Skip to content

Commit 6f8453f

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

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

arch/sparc/core/thread.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,11 +69,16 @@ void *z_arch_get_next_switch_handle(struct k_thread **old_thread)
6969
#if defined(CONFIG_FPU_SHARING)
7070
int arch_float_disable(struct k_thread *thread)
7171
{
72+
ARG_UNUSED(thread);
73+
7274
return -ENOTSUP;
7375
}
7476

7577
int arch_float_enable(struct k_thread *thread, unsigned int options)
7678
{
79+
ARG_UNUSED(thread);
80+
ARG_UNUSED(options);
81+
7782
return -ENOTSUP;
7883
}
7984
#endif /* CONFIG_FPU_SHARING */

0 commit comments

Comments
 (0)