Skip to content
Snippets Groups Projects
Commit b78631d5 authored by Heinrich Schuchardt's avatar Heinrich Schuchardt
Browse files

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: 41fd5068 ("efi_loader: disk: add efi_disk_is_system_part()")
Signed-off-by: default avatarHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
parent 90dcd9b2
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment