Skip to content

Commit 4bb4a0c

Browse files
Gaetan PerrotChromeos LUCI
authored andcommitted
arch: arm: core: cortex_a_r: mark unused function argument
Use ARG_UNUSED() to mark unused function argument. (cherry picked from commit 503011d) Original-Signed-off-by: Gaetan Perrot <[email protected]> GitOrigin-RevId: 503011d Cr-Build-Id: 8709847665304561137 Cr-Build-Url: https://cr-buildbucket.appspot.com/build/8709847665304561137 Copybot-Job-Name: zephyr-main-copybot-downstream Change-Id: I5a516587d2610ebe132bdde4c7d113d24d721dab Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/zephyr/+/6717683 Tested-by: ChromeOS Copybot <[email protected]> Bot-Commit: ChromeOS Copybot <[email protected]> Commit-Queue: ChromeOS Copybot <[email protected]>
1 parent 3748fa3 commit 4bb4a0c

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)