From 3e9eea2cc1375f96dfdf0dfcc617830055c2aefa Mon Sep 17 00:00:00 2001 From: Gaetan Perrot Date: Sun, 6 Jul 2025 02:03:03 +0900 Subject: [PATCH] arch: arm: core: cortex_m: mark unused function argument Use ARG_UNUSED() to mark unused function argument. Signed-off-by: Gaetan Perrot --- arch/arm/core/cortex_m/thread.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/core/cortex_m/thread.c b/arch/arm/core/cortex_m/thread.c index 4db35da8c57..733b4b8637f 100644 --- a/arch/arm/core/cortex_m/thread.c +++ b/arch/arm/core/cortex_m/thread.c @@ -455,6 +455,8 @@ int arch_float_disable(struct k_thread *thread) int arch_float_enable(struct k_thread *thread, unsigned int options) { + ARG_UNUSED(thread); + ARG_UNUSED(options); /* This is not supported in Cortex-M */ return -ENOTSUP; }