Skip to content
Snippets Groups Projects
Commit 5276e8b6 authored by Maxime Ripard's avatar Maxime Ripard Committed by Tom Rini
Browse files

part: efi: rework the partition start and size in gpt_fill_pte


The start variable is only used inside a loop, and is never affected inside
it, so it's a purely local variable.

In the same way the partition size is accessed several times, so we can
store it in a variable.

Signed-off-by: default avatarMaxime Ripard <maxime.ripard@free-electrons.com>
Reviewed-by: default avatarTom Rini <trini@konsulko.com>
parent 89d33a2c
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment