diff --git a/kernel/kmod.c b/kernel/kmod.c
index 2d83511e96108ffac0f1430d4e3d39188a1536ed..d910b6378fb6b1e26283bfbee1e9139a6c093c20 100644
--- a/kernel/kmod.c
+++ b/kernel/kmod.c
@@ -224,9 +224,6 @@ static int call_usermodehelper_exec_async(void *data)
 	flush_signal_handlers(current, 1);
 	spin_unlock_irq(&current->sighand->siglock);
 
-	/* We can run anywhere, unlike our parent keventd(). */
-	set_cpus_allowed_ptr(current, cpu_all_mask);
-
 	/*
 	 * Our parent is keventd, which runs with elevated scheduling priority.
 	 * Avoid propagating that into the userspace child.