efi-loader: drop harmful assertion
authorYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 25 Mar 2022 05:29:41 +0000 (14:29 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 25 Mar 2022 05:29:44 +0000 (14:29 +0900)
commit8603a229e91e2500366f1f1ad2e437150b19c40d
tree677e05908e5c37ffdd48bfcf5f24ae65e90489fd
parent00adc340bb15bc9d634db6caa48f1c964b99f79a
efi-loader: drop harmful assertion

This fixes a bug introduced by 7be4b23649c02df33e4292f37ffc8aecf512955a.

The function `efi_loader_get_device_part_uuid()` handles NULL
gracefully, and it is called with NULL in gpt-auto-generator.

Fixes #22862.
src/shared/efi-loader.c