From 72a8393aac3cedcd8384f959f81c0a272a4f1d63 Mon Sep 17 00:00:00 2001 From: Anas Nashif Date: Fri, 13 Jun 2025 07:31:59 -0400 Subject: [PATCH] kernel: kswap: removes unused `arch_swap` function declaration Eliminates the external declaration of the `arch_swap` function. Signed-off-by: Anas Nashif --- kernel/include/kswap.h | 1 - 1 file changed, 1 deletion(-) diff --git a/kernel/include/kswap.h b/kernel/include/kswap.h index 03c4a991bb0..0d790ed3a17 100644 --- a/kernel/include/kswap.h +++ b/kernel/include/kswap.h @@ -193,7 +193,6 @@ static inline void z_swap_unlocked(void) #else /* !CONFIG_USE_SWITCH */ -extern int arch_swap(unsigned int key); static inline void z_sched_switch_spin(struct k_thread *thread) {