Skip to content

Commit b59d9f2

Browse files
moonlight83340cfriedt
authored andcommitted
arch: riscv: core: fpu: mark unused function argument
Use ARG_UNUSED() to mark unused function argument. Signed-off-by: Gaetan Perrot <[email protected]>
1 parent 470f3af commit b59d9f2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

arch/riscv/core/fpu.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -341,6 +341,9 @@ int arch_float_disable(struct k_thread *thread)
341341

342342
int arch_float_enable(struct k_thread *thread, unsigned int options)
343343
{
344+
ARG_UNUSED(thread);
345+
ARG_UNUSED(options);
346+
344347
/* floats always gets enabled automatically at the moment */
345348
return 0;
346349
}

0 commit comments

Comments
 (0)