[U-Boot] [PATCH 2/4] part: efi: rework the partition start and size in gpt_fill_pte

Tom Rini trini at konsulko.com
Fri Aug 25 01:05:11 UTC 2017


On Wed, Aug 23, 2017 at 04:01:31PM +0200, Maxime Ripard wrote:

> 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 at free-electrons.com>

Reviewed-by: Tom Rini <trini at konsulko.com>

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170824/492ad83b/attachment.sig>


More information about the U-Boot mailing list