Re: [PATCH] efi_loader: simplify efi_disk_remove

2023-06-12 Thread Ilias Apalodimas
Heinrich, Ignore this version, I've found one problem, I'll send a v2 shortly. Thanks /Ilias On Mon, 12 Jun 2023 at 13:07, Ilias Apalodimas wrote: > > Instead of discovering the ID of the device and call two different > functions for a block device or a partition, we can rewrite >

[PATCH] efi_loader: simplify efi_disk_remove

2023-06-12 Thread Ilias Apalodimas
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