commit | b78631d54f72f063e1f2a5d14a349b1b0d8fbce7 | [log] [tgz] |
---|---|---|
author | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | Sat Mar 05 00:36:50 2022 +0100 |
committer | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | Sun Mar 20 11:03:06 2022 +0100 |
tree | 40d7f34d85102231badd080d696b8557af8ba4bd | |
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>