summaryrefslogtreecommitdiff
path: root/src/security
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2022-01-08 08:27:38 +0100
committerFelix Held <felix-coreboot@felixheld.de>2022-01-12 16:11:05 +0000
commit64175bcb763315193dfce96c9d71323fe425c6bc (patch)
treeaa2efe5a8c6b1d6d1bcaaf50dc2d7005fd12ead6 /src/security
parent6c4edff487d365d40fbd6fb0eb3332492a947ada (diff)
src: Remove redundant <rules.h> and <commonlib/bsd/compiler.h>
<rules.h> and <commonlib/bsd/compiler.h> are always automatically included in all compilation units by the build system Change-Id: I9528c47f4b7cd22c5a56d6a59b3bfe53197cc4d8 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/60932 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Diffstat (limited to 'src/security')
-rw-r--r--src/security/intel/txt/getsec.c1
-rw-r--r--src/security/tpm/tspi/tspi.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/src/security/intel/txt/getsec.c b/src/security/intel/txt/getsec.c
index cd2292745f..16ffedd24c 100644
--- a/src/security/intel/txt/getsec.c
+++ b/src/security/intel/txt/getsec.c
@@ -9,7 +9,6 @@
#include <cpu/x86/mp.h>
#include <cpu/x86/msr.h>
#include <types.h>
-#include <rules.h>
#include "txt_register.h"
#include "txt_getsec.h"
diff --git a/src/security/tpm/tspi/tspi.c b/src/security/tpm/tspi/tspi.c
index e2d6d1e56e..563e8f0cd5 100644
--- a/src/security/tpm/tspi/tspi.c
+++ b/src/security/tpm/tspi/tspi.c
@@ -1,6 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-#include <rules.h>
#include <console/cbmem_console.h>
#include <console/console.h>
#include <security/tpm/tspi/crtm.h>