diff options
author | Maxime Ripard <maxime.ripard@free-electrons.com> | 2017-08-23 16:01:31 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-09-03 11:04:48 -0400 |
commit | 5276e8b62d958a50e90dc7e8cb8260be597ae51f (patch) | |
tree | 57b701f7fe080c49a16f36f78b31b9065cdcc1d6 /include/part.h | |
parent | 89d33a2c0dce785b8c503399db91eec520def249 (diff) | |
download | u-boot-midas-5276e8b62d958a50e90dc7e8cb8260be597ae51f.tar.gz u-boot-midas-5276e8b62d958a50e90dc7e8cb8260be597ae51f.tar.bz2 u-boot-midas-5276e8b62d958a50e90dc7e8cb8260be597ae51f.zip |
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>
Diffstat (limited to 'include/part.h')
0 files changed, 0 insertions, 0 deletions