]> git.dujemihanovic.xyz Git - u-boot.git/commit
bootstage: Fix counting of entries in stash
authorSimon Glass <sjg@chromium.org>
Mon, 21 Oct 2019 23:26:48 +0000 (17:26 -0600)
committerSimon Glass <sjg@chromium.org>
Sun, 27 Oct 2019 16:56:51 +0000 (10:56 -0600)
commited54bdaf88758854905b5d8ca5036a078b9ef168
treebcb33718ed713fe99ff682cf9aeef830c8706523
parent53a4f253f129926bb5398634c8bae43ab788342d
bootstage: Fix counting of entries in stash

The current code searches for empty records but these not existing with
bootstage now. This used to be needed when bootstage records were stored
in a spare array.

Drop the unnecessary code and fix a code-style nit at the same time.

Signed-off-by: Simon Glass <sjg@chromium.org>
common/bootstage.c