Skip to content

Commit 3e9eea2

Browse files
moonlight83340danieldegrasse
authored andcommitted
arch: arm: core: cortex_m: mark unused function argument
Use ARG_UNUSED() to mark unused function argument. Signed-off-by: Gaetan Perrot <gaetan.perrot@spacecubics.com>
1 parent eb7fe02 commit 3e9eea2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

arch/arm/core/cortex_m/thread.c

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

456456
int arch_float_enable(struct k_thread *thread, unsigned int options)
457457
{
458+
ARG_UNUSED(thread);
459+
ARG_UNUSED(options);
458460
/* This is not supported in Cortex-M */
459461
return -ENOTSUP;
460462
}

0 commit comments

Comments
 (0)