commit | 5276e8b62d958a50e90dc7e8cb8260be597ae51f | [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 | 89d33a2c0dce785b8c503399db91eec520def249 [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>