mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-02-24 00:24:38 +00:00
Kernel: Remove unused Process::all_pids()
This commit is contained in:
@@ -84,17 +84,6 @@ UNMAP_AFTER_INIT void Process::initialize()
|
||||
create_signal_trampoline();
|
||||
}
|
||||
|
||||
Vector<ProcessID> Process::all_pids()
|
||||
{
|
||||
Vector<ProcessID> pids;
|
||||
processes().with_shared([&](const auto& list) {
|
||||
pids.ensure_capacity(list.size_slow());
|
||||
for (const auto& process : list)
|
||||
pids.append(process.pid());
|
||||
});
|
||||
return pids;
|
||||
}
|
||||
|
||||
NonnullRefPtrVector<Process> Process::all_processes()
|
||||
{
|
||||
NonnullRefPtrVector<Process> output;
|
||||
|
||||
Reference in New Issue
Block a user