diff options
author | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | 2022-03-05 00:36:50 +0100 |
---|---|---|
committer | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | 2022-03-20 11:03:06 +0100 |
commit | b78631d54f72f063e1f2a5d14a349b1b0d8fbce7 (patch) | |
tree | 40d7f34d85102231badd080d696b8557af8ba4bd /lib/efi_loader/efi_device_path.c | |
parent | 90dcd9b2d3a318391453d9d623d931a568906cb5 (diff) |
efi_loader: remove efi_disk_is_system_part()
The block IO protocol may be installed on any handle. We should make
no assumption about the structure the handle points to.
efi_disk_is_system_part() makes an illegal widening cast from a handle
to a struct efi_disk_obj. Remove the function.
Fixes: Fixes: 41fd506842c2 ("efi_loader: disk: add efi_disk_is_system_part()")
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Diffstat (limited to 'lib/efi_loader/efi_device_path.c')
0 files changed, 0 insertions, 0 deletions