From 5d5525245b67c22253df859f2657df18fa13f07f Mon Sep 17 00:00:00 2001 From: Jan Janssen Date: Thu, 2 Mar 2023 17:11:52 +0100 Subject: [PATCH] boot: Fix unused function warning --- src/boot/efi/boot.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/boot/efi/boot.c b/src/boot/efi/boot.c index 02c3568062..6959482ab6 100644 --- a/src/boot/efi/boot.c +++ b/src/boot/efi/boot.c @@ -1960,6 +1960,7 @@ static void config_entry_add_osx(Config *config) { } } +#if defined(__i386__) || defined(__x86_64__) || defined(__arm__) || defined(__aarch64__) static EFI_STATUS boot_windows_bitlocker(void) { _cleanup_free_ EFI_HANDLE *handles = NULL; size_t n_handles; @@ -2040,6 +2041,7 @@ static EFI_STATUS boot_windows_bitlocker(void) { return EFI_NOT_FOUND; } +#endif static void config_entry_add_windows(Config *config, EFI_HANDLE *device, EFI_FILE *root_dir) { #if defined(__i386__) || defined(__x86_64__) || defined(__arm__) || defined(__aarch64__) -- 2.25.1