Skip to content

Commit 3962dab

Browse files
moonlight83340dkalowsk
authored andcommitted
arch: arm64: core: fpu: mark unused function argument
Use ARG_UNUSED() to mark unused function argument. Signed-off-by: Gaetan Perrot <gaetan.perrot@spacecubics.com>
1 parent 92826ff commit 3962dab

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

arch/arm64/core/fpu.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -346,6 +346,8 @@ int arch_float_disable(struct k_thread *thread)
346346

347347
int arch_float_enable(struct k_thread *thread, unsigned int options)
348348
{
349+
ARG_UNUSED(thread);
350+
ARG_UNUSED(options);
349351
/* floats always gets enabled automatically at the moment */
350352
return 0;
351353
}

0 commit comments

Comments
 (0)