summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2015-04-10 19:49:36 +0200
committerTom Gundersen <teg@jklm.no>2015-04-10 19:55:49 +0200
commit2e036c4eae2ed43b1f98124660680e9577f0ffef (patch)
tree0690cdd3be66d5acbf63fb63211791eda3ee51b6
parentb28ce7c6dbe341d6f5769d31014ab8411257db7d (diff)
shared: boot-timestamps - remove ifdef
No need to ifdef out efi code as the functions are always defined.
-rw-r--r--src/shared/boot-timestamps.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/shared/boot-timestamps.c b/src/shared/boot-timestamps.c
index 68419595fb..ecbe1aaa0f 100644
--- a/src/shared/boot-timestamps.c
+++ b/src/shared/boot-timestamps.c
@@ -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;
}