[-next] efi: Remove unused extern declaration efi_lookup_mapped_addr()

Message ID 20230725140327.24960-1-yuehaibing@huawei.com
State New
Headers
Series [-next] efi: Remove unused extern declaration efi_lookup_mapped_addr() |

Commit Message

Yue Haibing July 25, 2023, 2:03 p.m. UTC
  Since commit 50a0cb565246 ("x86/efi-bgrt: Fix kernel panic when mapping BGRT data")
this extern declaration is not used anymore.

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

Comments

Ard Biesheuvel Aug. 3, 2023, 1:42 p.m. UTC | #1
On Tue, 25 Jul 2023 at 16:04, YueHaibing <yuehaibing@huawei.com> wrote:
>
> Since commit 50a0cb565246 ("x86/efi-bgrt: Fix kernel panic when mapping BGRT data")
> this extern declaration is not used anymore.
>
> Signed-off-by: YueHaibing <yuehaibing@huawei.com>

Queued up in efi/next - thanks,


> ---
>  include/linux/efi.h | 1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/include/linux/efi.h b/include/linux/efi.h
> index c31a9895ecb8..d4ec0d9c896f 100644
> --- a/include/linux/efi.h
> +++ b/include/linux/efi.h
> @@ -727,7 +727,6 @@ static inline efi_status_t efi_query_variable_store(u32 attributes,
>         return EFI_SUCCESS;
>  }
>  #endif
> -extern void __iomem *efi_lookup_mapped_addr(u64 phys_addr);
>
>  extern int __init __efi_memmap_init(struct efi_memory_map_data *data);
>  extern int __init efi_memmap_init_early(struct efi_memory_map_data *data);
> --
> 2.34.1
>
  

Patch

diff --git a/include/linux/efi.h b/include/linux/efi.h
index c31a9895ecb8..d4ec0d9c896f 100644
--- a/include/linux/efi.h
+++ b/include/linux/efi.h
@@ -727,7 +727,6 @@  static inline efi_status_t efi_query_variable_store(u32 attributes,
 	return EFI_SUCCESS;
 }
 #endif
-extern void __iomem *efi_lookup_mapped_addr(u64 phys_addr);
 
 extern int __init __efi_memmap_init(struct efi_memory_map_data *data);
 extern int __init efi_memmap_init_early(struct efi_memory_map_data *data);