kernel: kswap: removes unused arch_swap function declaration

Eliminates the external declaration of the `arch_swap` function.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2025-06-13 07:31:59 -04:00
commit 72a8393aac

View file

@ -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)
{