Skip to content

Commit dc423a3

Browse files
moonlight83340seyoungjeong
authored andcommitted
arch: arm: core: cortex_a_r: mark unused function argument
Use ARG_UNUSED() to mark unused function argument. Signed-off-by: Gaetan Perrot <gaetan.perrot@spacecubics.com>
1 parent 28b9364 commit dc423a3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

arch/arm/core/cortex_a_r/thread.c

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

410410
int arch_float_enable(struct k_thread *thread, unsigned int options)
411411
{
412+
ARG_UNUSED(thread);
413+
ARG_UNUSED(options);
412414
/* This is not supported in Cortex-A and Cortex-R */
413415
return -ENOTSUP;
414416
}

0 commit comments

Comments
 (0)