<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">

I've had a warning in there for 4-5 months and it has never triggered.  I
think it's safe to remove this test.



 kernel/sched.c |    3 ---
 1 files changed, 3 deletions(-)

diff -puN kernel/sched.c~warn-null-wakeup kernel/sched.c
--- 25/kernel/sched.c~warn-null-wakeup	2003-04-09 01:53:07.000000000 -0700
+++ 25-akpm/kernel/sched.c	2003-04-09 01:55:28.000000000 -0700
@@ -1427,9 +1427,6 @@ void __wake_up(wait_queue_head_t *q, uns
 {
 	unsigned long flags;
 
-	if (unlikely(!q))
-		return;
-
 	spin_lock_irqsave(&amp;q-&gt;lock, flags);
 	__wake_up_common(q, mode, nr_exclusive, 0);
 	spin_unlock_irqrestore(&amp;q-&gt;lock, flags);

_
</pre></body></html>