diff options
author | Jan Janssen <medhefgo@web.de> | 2023-03-02 17:11:52 +0100 |
---|---|---|
committer | Jan Janssen <medhefgo@web.de> | 2023-03-10 11:41:08 +0100 |
commit | 5d5525245b67c22253df859f2657df18fa13f07f (patch) | |
tree | 20d0d94e2174a8af1dc4511d9d0804521d307d15 /src/boot/efi | |
parent | e8509329d769d698ae7208ebf673822146c50d8d (diff) | |
download | systemd-5d5525245b67c22253df859f2657df18fa13f07f.tar.gz |
boot: Fix unused function warning
Diffstat (limited to 'src/boot/efi')
-rw-r--r-- | src/boot/efi/boot.c | 2 |
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__) |