Browse Source

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>
pull/89798/head
Anas Nashif 4 weeks ago
parent
commit
72a8393aac
  1. 1
      kernel/include/kswap.h

1
kernel/include/kswap.h

@ -193,7 +193,6 @@ static inline void z_swap_unlocked(void) @@ -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)
{

Loading…
Cancel
Save