1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-29 00:11:16 +01:00

cppcheck: don't needlessly assign sched_active_pid

This commit is contained in:
René Kijewski 2014-10-18 02:09:47 +02:00
parent 18ac4dfcb9
commit c0ce346a12

View File

@ -90,7 +90,6 @@ void sched_run(void)
my_active_thread = clist_get_container(sched_runqueues[nextrq], tcb_t, rq_entry);
clist_advance(&(sched_runqueues[nextrq]));
DEBUG("scheduler: first in queue: %s\n", my_active_thread->name);
sched_active_pid = (volatile int) my_active_thread->pid;
kernel_pid_t my_next_pid = my_active_thread->pid;