From: Tom Rini Date: Sun, 3 Sep 2017 20:41:18 -0400 Subject: [U-Boot] [U-Boot, 2/4] part: efi: rework the partition start and size in gpt_fill_pte In-Reply-To: <20170823140133.1506-2-maxime.ripard@free-electrons.com> References: <20170823140133.1506-2-maxime.ripard@free-electrons.com> Message-ID: <20170904004118.GV17058@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: