Revert "smp: Add missing destroy_work_on_stack() call in smp_call_on_cpu()"

This reverts commit 0b1e77f743.
This commit is contained in:
Ksawlii 2024-11-24 00:23:40 +01:00
parent a82373ed36
commit 93a14d2549

View file

@ -1034,7 +1034,6 @@ int smp_call_on_cpu(unsigned int cpu, int (*func)(void *), void *par, bool phys)
queue_work_on(cpu, system_wq, &sscs.work); queue_work_on(cpu, system_wq, &sscs.work);
wait_for_completion(&sscs.done); wait_for_completion(&sscs.done);
destroy_work_on_stack(&sscs.work);
return sscs.ret; return sscs.ret;
} }