]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
sd-boot: remove unnecessary defines (#5848)
authorMax Resch <mxre@users.noreply.github.com>
Sat, 29 Apr 2017 10:24:25 +0000 (12:24 +0200)
committerLennart Poettering <lennart@poettering.net>
Sat, 29 Apr 2017 10:24:25 +0000 (12:24 +0200)
As discussed in #5829 `#define` is not necessary, meson and autotools
set the correct compiler flags and the default value is provided by them.

src/boot/efi/measure.h

index a2cfe817d0e04f3466052aef66d6f16acbae6f6a..43aa8a0058534bdaadd525c770cf73306451b15b 100644 (file)
@@ -13,9 +13,6 @@
 #ifndef __SDBOOT_MEASURE_H
 #define __SDBOOT_MEASURE_H
 
-#ifndef SD_TPM_PCR
-#define SD_TPM_PCR 8
-#endif
-
 EFI_STATUS tpm_log_event(UINT32 pcrindex, const EFI_PHYSICAL_ADDRESS buffer, UINTN buffer_size, const CHAR16 *description);
+
 #endif