]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blobdiff - kernel/workqueue.c
workqueue/hotplug: remove the workaround in rebind_workers()
[mirror_ubuntu-jammy-kernel.git] / kernel / workqueue.c
index 48a4d00f55dc80a24554a526ae33d15149302da0..45ce93f3dd1f99e166ab8950fb3455d1fb1ca34b 100644 (file)
@@ -4589,16 +4589,6 @@ static void rebind_workers(struct worker_pool *pool)
 
        spin_lock_irq(&pool->lock);
 
-       /*
-        * XXX: CPU hotplug notifiers are weird and can call DOWN_FAILED
-        * w/o preceding DOWN_PREPARE.  Work around it.  CPU hotplug is
-        * being reworked and this can go away in time.
-        */
-       if (!(pool->flags & POOL_DISASSOCIATED)) {
-               spin_unlock_irq(&pool->lock);
-               return;
-       }
-
        pool->flags &= ~POOL_DISASSOCIATED;
 
        for_each_pool_worker(worker, pool) {