]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
shared: boot-timestamps - remove ifdef
authorTom Gundersen <teg@jklm.no>
Fri, 10 Apr 2015 17:49:36 +0000 (19:49 +0200)
committerTom Gundersen <teg@jklm.no>
Fri, 10 Apr 2015 17:55:49 +0000 (19:55 +0200)
No need to ifdef out efi code as the functions are always defined.

src/shared/boot-timestamps.c

index 68419595fbbf3b379a6ed44fbc02854d0b8c2766..ecbe1aaa0f9eed0e931cc8b0abf487f162da3e8f 100644 (file)
@@ -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;
         }