]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
boot: Fix unused function warning
authorJan Janssen <medhefgo@web.de>
Thu, 2 Mar 2023 16:11:52 +0000 (17:11 +0100)
committerJan Janssen <medhefgo@web.de>
Fri, 10 Mar 2023 10:41:08 +0000 (11:41 +0100)
src/boot/efi/boot.c

index 02c35680626d066352d93b8e19383499503eab70..6959482ab6aea3febfb19b8c1250280c4d4e2d5a 100644 (file)
@@ -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__)