diff options
author | Warner Losh <imp@FreeBSD.org> | 2022-08-24 12:27:01 +0000 |
---|---|---|
committer | Warner Losh <imp@FreeBSD.org> | 2022-08-24 12:35:41 +0000 |
commit | 211053f952d8ac91dab239f6c4845dd5badd0d95 (patch) | |
tree | c104459bb9cda31c33389da7865da22a4905ecb1 | |
parent | 4e4f49fd4af29eaffe7c1a1d5e61a4a8f2ffeef4 (diff) | |
download | src-211053f952d8ac91dab239f6c4845dd5badd0d95.tar.gz src-211053f952d8ac91dab239f6c4845dd5badd0d95.zip |
arm64: Remove unused typedef
We don't use EFI_MEMORY_DESCRIPTOR that's typedef'd here. We use the one
from sys/efi.h instead. Remove the clutter here as these two are subtly
different (though wind up with the same layout due to alignment rules).
Sponsored by: Netflix
-rw-r--r-- | sys/arm64/arm64/machdep.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/sys/arm64/arm64/machdep.c b/sys/arm64/arm64/machdep.c index 58136981c1a4..5ce5d279e8e0 100644 --- a/sys/arm64/arm64/machdep.c +++ b/sys/arm64/arm64/machdep.c @@ -420,14 +420,6 @@ arm64_get_writable_addr(vm_offset_t addr, vm_offset_t *out) return (false); } -typedef struct { - uint32_t type; - uint64_t phys_start; - uint64_t virt_start; - uint64_t num_pages; - uint64_t attr; -} EFI_MEMORY_DESCRIPTOR; - typedef void (*efi_map_entry_cb)(struct efi_md *); static void |