commit | be4a6b8373afcc2b458bff6e7cf331a602876f95 | [log] [tgz] |
---|---|---|
author | Maxime Ripard <maxime.ripard@free-electrons.com> | Wed Aug 23 16:01:31 2017 +0200 |
committer | Tom Rini <trini@konsulko.com> | Sun Sep 03 11:04:48 2017 -0400 |
tree | 57b701f7fe080c49a16f36f78b31b9065cdcc1d6 | |
parent | 1d088f0b5e16f99a5c6d06b810f4a3d6db45c594 [diff] |
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: Maxime Ripard <maxime.ripard@free-electrons.com> Reviewed-by: Tom Rini <trini@konsulko.com>