summaryrefslogtreecommitdiff
path: root/src/apps
diff options
context:
space:
mode:
authorRandolph Sapp <[email protected]>2026-04-22 12:09:45 -0500
committerHeinrich Schuchardt <[email protected]>2026-05-05 16:29:08 +0200
commitb1c28ad5fafd95c183b26165e498354db41b755b (patch)
treec2b9f4707e71e253aa84f2aadf4b0fc0ccedcadd /src/apps
parent025c4cbd422ccc591595dc321277234fdeb3a967 (diff)
efi_mem_sort: use list_for_each_entry_safe instead
Use list_for_each_entry_safe and comparisons against the current and next efi_mem_desc. This reduces the computation required for merging regions, prevents unnecessary additional iterations of the list, and requires less temporary values. Signed-off-by: Randolph Sapp <[email protected]> Reviewed-by: Ilias Apalodimas <[email protected]> Reviewed-by: Simon Glass <[email protected]>
Diffstat (limited to 'src/apps')
0 files changed, 0 insertions, 0 deletions