mirror of
https://github.com/morgan9e/systemd
synced 2026-04-15 08:56:15 +09:00
shared: boot-timestamps - remove ifdef
No need to ifdef out efi code as the functions are always defined.
This commit is contained in:
@@ -39,10 +39,8 @@ int boot_timestamps(const dual_timestamp *n, dual_timestamp *firmware, dual_time
|
||||
|
||||
r = acpi_get_boot_usec(&x, &y);
|
||||
if (r < 0) {
|
||||
#ifdef ENABLE_EFI
|
||||
r = efi_loader_get_boot_usec(&x, &y);
|
||||
if (r < 0)
|
||||
#endif
|
||||
return r;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user