aboutsummaryrefslogtreecommitdiff
path: root/lib/libavb/avb_hash_descriptor.h
diff options
context:
space:
mode:
authorIlias Apalodimas2023-06-12 18:35:58 +0300
committerHeinrich Schuchardt2023-06-16 06:45:20 +0200
commit3cc2b9f5b982ff3a192202b6d422eeb1893fa667 (patch)
treecf5159be489e7ac95a8b688cfd1690844401a8b4 /lib/libavb/avb_hash_descriptor.h
parent3ae95fe21cbd1e367e6169968ed2497a2ea8561a (diff)
efi_loader: simplify efi_disk_remove
Instead of discovering the ID of the device and call two different functions for a block device or a partition, we can rewrite efi_disk_remove() and handle the minor differences between the two variants internally. As a results we can simplify efi_disk_remove() a lot and get rid of the extra efi_disk_delete_raw/blk calls. Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org> If a handle is not found, return 0 to let the device be removed. Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Diffstat (limited to 'lib/libavb/avb_hash_descriptor.h')
0 files changed, 0 insertions, 0 deletions