summaryrefslogtreecommitdiff
path: root/kern/work.c
diff options
context:
space:
mode:
Diffstat (limited to 'kern/work.c')
-rw-r--r--kern/work.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/kern/work.c b/kern/work.c
index 738ab8b6..6c0ed626 100644
--- a/kern/work.c
+++ b/kern/work.c
@@ -259,9 +259,7 @@ work_pool_wakeup_manager(struct work_pool *pool)
return;
}
- if ((pool->manager != NULL) && (pool->manager->thread != thread_self())) {
- thread_wakeup(pool->manager->thread);
- }
+ thread_wakeup(pool->manager->thread);
}
static void