commit | d8503a45dfe48cdf764e143d9de851924b214f67 | [log] [tgz] |
---|---|---|
author | Maxim Moskalets <maximmosk4@gmail.com> | Sat Aug 17 14:02:22 2024 +0300 |
committer | Tom Rini <trini@konsulko.com> | Tue Aug 27 18:01:21 2024 -0600 |
tree | 34905b890b9a80393e8eaf59420423618b2e356c | |
parent | 314fdd2e7392bc3480104a1f15001f0f6f25a4dd [diff] |
lib: move phdr increment to for loop heading Shifting this pointer in the loop will be more logical when working with the code later, because you can see at a glance what exactly changes at each iteration. Moreover, the code remains equivalent because this variable is not used after the loop. Signed-off-by: Maxim Moskalets <maximmosk4@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>