summaryrefslogtreecommitdiff
path: root/src/boot
diff options
context:
space:
mode:
authorJan Janssen <medhefgo@web.de>2023-03-02 17:11:52 +0100
committerJan Janssen <medhefgo@web.de>2023-03-10 11:41:08 +0100
commit5d5525245b67c22253df859f2657df18fa13f07f (patch)
tree20d0d94e2174a8af1dc4511d9d0804521d307d15 /src/boot
parente8509329d769d698ae7208ebf673822146c50d8d (diff)
downloadsystemd-5d5525245b67c22253df859f2657df18fa13f07f.tar.gz
boot: Fix unused function warning
Diffstat (limited to 'src/boot')
-rw-r--r--src/boot/efi/boot.c2
1 files changed, 2 insertions, 0 deletions
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__)