Tidy up the code style for checking the result of read_images() and drop some commented-out debug lines. Also fix a shadowed variable while we are here. Signed-off-by: Simon Glass <simon.glass@canonical.com>
.. SPDX-License-Identifier: GPL-2.0+ Bootctl Library =============== This library is a reference implementation of boot control, a way to control the boot, used for experimentation. .. Copyright 2025 Canonical Ltd .. Written by Simon Glass <simon.glass@canonical.com>