diff mbox series

[-next] efi: Remove unused declaration efi_initialize_iomem_resources()

Message ID 20240808140554.2498398-1-yuehaibing@huawei.com
State Accepted
Commit 21b91d40575fb64f3f280f6c3af586e32a704a92
Headers show
Series [-next] efi: Remove unused declaration efi_initialize_iomem_resources() | expand

Commit Message

Yue Haibing Aug. 8, 2024, 2:05 p.m. UTC
Since commit cf8e8658100d ("arch: Remove Itanium (IA-64) architecture"),
this is not used anymore.

Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
---
 include/linux/efi.h | 2 --
 1 file changed, 2 deletions(-)

Comments

Ard Biesheuvel Aug. 27, 2024, 10:22 a.m. UTC | #1
On Thu, 8 Aug 2024 at 16:08, Yue Haibing <yuehaibing@huawei.com> wrote:
>
> Since commit cf8e8658100d ("arch: Remove Itanium (IA-64) architecture"),
> this is not used anymore.
>
> Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
> ---
>  include/linux/efi.h | 2 --
>  1 file changed, 2 deletions(-)
>
> diff --git a/include/linux/efi.h b/include/linux/efi.h
> index 6bf3c4fe8511..e28d88066033 100644
> --- a/include/linux/efi.h
> +++ b/include/linux/efi.h
> @@ -764,8 +764,6 @@ extern int efi_mem_desc_lookup(u64 phys_addr, efi_memory_desc_t *out_md);
>  extern int __efi_mem_desc_lookup(u64 phys_addr, efi_memory_desc_t *out_md);
>  extern void efi_mem_reserve(phys_addr_t addr, u64 size);
>  extern int efi_mem_reserve_persistent(phys_addr_t addr, u64 size);
> -extern void efi_initialize_iomem_resources(struct resource *code_resource,
> -               struct resource *data_resource, struct resource *bss_resource);
>  extern u64 efi_get_fdt_params(struct efi_memory_map_data *data);
>  extern struct kobject *efi_kobj;
>

Queued for v6.12 - thanks.
diff mbox series

Patch

diff --git a/include/linux/efi.h b/include/linux/efi.h
index 6bf3c4fe8511..e28d88066033 100644
--- a/include/linux/efi.h
+++ b/include/linux/efi.h
@@ -764,8 +764,6 @@  extern int efi_mem_desc_lookup(u64 phys_addr, efi_memory_desc_t *out_md);
 extern int __efi_mem_desc_lookup(u64 phys_addr, efi_memory_desc_t *out_md);
 extern void efi_mem_reserve(phys_addr_t addr, u64 size);
 extern int efi_mem_reserve_persistent(phys_addr_t addr, u64 size);
-extern void efi_initialize_iomem_resources(struct resource *code_resource,
-		struct resource *data_resource, struct resource *bss_resource);
 extern u64 efi_get_fdt_params(struct efi_memory_map_data *data);
 extern struct kobject *efi_kobj;