Profiler: Remove one else-after-return

This commit is contained in:
Hendiadyoin1 2021-12-22 16:43:43 +01:00 committed by Brian Gianforcaro
commit e3469391d3
Notes: sideshowbarker 2024-07-17 22:19:56 +09:00

View file

@ -423,8 +423,8 @@ ErrorOr<NonnullOwnPtr<Profile>> Profile::load_from_perfcore_file(StringView path
quick_sort(all_processes, [](auto& a, auto& b) {
if (a.pid == b.pid)
return a.start_valid < b.start_valid;
else
return a.pid < b.pid;
return a.pid < b.pid;
});
Vector<Process> processes;