From 2d8bdf9b832d6b6c0213105f74d2e32a88bdde91 Mon Sep 17 00:00:00 2001 From: Marian Buschsieweke Date: Wed, 26 Aug 2020 21:38:57 +0200 Subject: [PATCH] core/sched: Drop declaration of sched_active_{pid,thread} This should increase odds that developers use thread_get_active() and thread_getpid() instead. --- core/include/sched.h | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/core/include/sched.h b/core/include/sched.h index 181a31755d..214d7af327 100644 --- a/core/include/sched.h +++ b/core/include/sched.h @@ -183,21 +183,11 @@ extern volatile unsigned int sched_context_switch_request; */ extern volatile thread_t *sched_threads[KERNEL_PID_LAST + 1]; -/** - * Currently active thread - */ -extern volatile thread_t *sched_active_thread; - /** * Number of running (non-terminated) threads */ extern volatile int sched_num_threads; -/** - * Process ID of active thread - */ -extern volatile kernel_pid_t sched_active_pid; - /** * List of runqueues per priority level */