summaryrefslogtreecommitdiff
path: root/kernel/irq/manage.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/irq/manage.c')
-rw-r--r--kernel/irq/manage.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/irq/manage.c b/kernel/irq/manage.c
index 52bdd58f7328..477522987ce0 100644
--- a/kernel/irq/manage.c
+++ b/kernel/irq/manage.c
@@ -819,7 +819,7 @@ static int irq_thread(void *data)
wake = atomic_dec_and_test(&desc->threads_active);
- if (wake && waitqueue_active(&desc->wait_for_threads))
+ if (wake)
wake_up(&desc->wait_for_threads);
}