]> git.baikalelectronics.ru Git - uboot.git/commit
bootstd: Tidy up var naming in bootdev_setup_iter_order()
authorSimon Glass <sjg@chromium.org>
Sat, 30 Jul 2022 21:52:20 +0000 (15:52 -0600)
committerTom Rini <trini@konsulko.com>
Fri, 12 Aug 2022 12:14:24 +0000 (08:14 -0400)
commitaa1c8ee762d55817b3dd0ef3ff539b185931442e
tree5d438ccc4614968a7128624b32128eabdcc17557
parent97ca4d553ecaa29d19d52d48d0e48b1b36213d16
bootstd: Tidy up var naming in bootdev_setup_iter_order()

Avoid using 'count' to mean either a count or an error, since this is
confusing. In fact, the called function never return 0, since that is an
error.

Use 'ret' instead.

Signed-off-by: Simon Glass <sjg@chromium.org>
boot/bootdev-uclass.c