mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 10:37:35 +03:00
libefi: remove efi_type()
All it is right now is some #if 0ed Solaris code that returns ENOSYS, and is only applicable for the Solaris blockdev layer. In the Illumos gate, there's a single user: rmformat(1); I recommend a read of the manual as a blast from the past, but, well Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz> Issue #12844 Closes #12969
This commit is contained in:
@@ -369,7 +369,6 @@ _SYS_EFI_PARTITION_H int efi_alloc_and_read(int, struct dk_gpt **);
|
||||
_SYS_EFI_PARTITION_H int efi_write(int, struct dk_gpt *);
|
||||
_SYS_EFI_PARTITION_H int efi_rescan(int);
|
||||
_SYS_EFI_PARTITION_H void efi_free(struct dk_gpt *);
|
||||
_SYS_EFI_PARTITION_H int efi_type(int);
|
||||
_SYS_EFI_PARTITION_H void efi_err_check(struct dk_gpt *);
|
||||
_SYS_EFI_PARTITION_H int efi_use_whole_disk(int fd);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user