#include <linux/random.h>
 #include <linux/rcupdate.h>
 #include <linux/sched/clock.h>
-#include <linux/sched/sysctl.h>
 #include <linux/seq_file.h>
 #include <linux/slab.h>
 #include <linux/spinlock.h>
        /* Enable static key, and await allocation to happen. */
        static_branch_enable(&kfence_allocation_key);
 
-       if (sysctl_hung_task_timeout_secs) {
-               /*
-                * During low activity with no allocations we might wait a
-                * while; let's avoid the hung task warning.
-                */
-               wait_event_idle_timeout(allocation_wait, atomic_read(&kfence_allocation_gate),
-                                       sysctl_hung_task_timeout_secs * HZ / 2);
-       } else {
-               wait_event_idle(allocation_wait, atomic_read(&kfence_allocation_gate));
-       }
+       wait_event_idle(allocation_wait, atomic_read(&kfence_allocation_gate));
 
        /* Disable static key and reset timer. */
        static_branch_disable(&kfence_allocation_key);