From: Jan Janssen Date: Thu, 2 Mar 2023 16:11:52 +0000 (+0100) Subject: boot: Fix unused function warning X-Git-Tag: v254-rc1~1060^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5d5525245b67c22253df859f2657df18fa13f07f;p=thirdparty%2Fsystemd.git boot: Fix unused function warning --- diff --git a/src/boot/efi/boot.c b/src/boot/efi/boot.c index 02c35680626..6959482ab6a 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__)