diff options
author | Miika Pekkarinen <miipekk@ihme.org> | 2006-09-16 18:30:10 +0000 |
---|---|---|
committer | Miika Pekkarinen <miipekk@ihme.org> | 2006-09-16 18:30:10 +0000 |
commit | 92ae9155a76d07d8b7a15bd73520afef893b4c21 (patch) | |
tree | e7f34577a66d58a21120b8055c0f93d7243e66f7 /firmware/thread.c | |
parent | 610190a04e52944bb2818882af937ce175f45992 (diff) | |
download | rockbox-92ae9155a76d07d8b7a15bd73520afef893b4c21.tar.gz rockbox-92ae9155a76d07d8b7a15bd73520afef893b4c21.zip |
Don't remove the thread twice.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10960 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/thread.c')
-rw-r--r-- | firmware/thread.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/thread.c b/firmware/thread.c index e4dcbbcf9a..aeedbac349 100644 --- a/firmware/thread.c +++ b/firmware/thread.c | |||
@@ -671,8 +671,8 @@ void remove_thread(struct thread_entry *thread) | |||
671 | 671 | ||
672 | if (thread == cores[CURRENT_CORE].sleeping) | 672 | if (thread == cores[CURRENT_CORE].sleeping) |
673 | remove_from_list(&cores[CURRENT_CORE].sleeping, thread); | 673 | remove_from_list(&cores[CURRENT_CORE].sleeping, thread); |
674 | 674 | else | |
675 | remove_from_list(NULL, thread); | 675 | remove_from_list(NULL, thread); |
676 | } | 676 | } |
677 | 677 | ||
678 | #ifdef HAVE_PRIORITY_SCHEDULING | 678 | #ifdef HAVE_PRIORITY_SCHEDULING |