diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2022-01-08 08:27:38 +0100 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2022-01-12 16:11:05 +0000 |
commit | 64175bcb763315193dfce96c9d71323fe425c6bc (patch) | |
tree | aa2efe5a8c6b1d6d1bcaaf50dc2d7005fd12ead6 /src | |
parent | 6c4edff487d365d40fbd6fb0eb3332492a947ada (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')
-rw-r--r-- | src/lib/string.c | 1 | ||||
-rw-r--r-- | src/lib/thread.c | 1 | ||||
-rw-r--r-- | src/security/intel/txt/getsec.c | 1 | ||||
-rw-r--r-- | src/security/tpm/tspi/tspi.c | 1 |
4 files changed, 0 insertions, 4 deletions
diff --git a/src/lib/string.c b/src/lib/string.c index 9677520137..a9515f70ce 100644 --- a/src/lib/string.c +++ b/src/lib/string.c @@ -1,6 +1,5 @@ #include <assert.h> #include <ctype.h> -#include <rules.h> #include <string.h> #include <stddef.h> #include <stdlib.h> diff --git a/src/lib/thread.c b/src/lib/thread.c index 0393ca7db0..a1c84dce59 100644 --- a/src/lib/thread.c +++ b/src/lib/thread.c @@ -5,7 +5,6 @@ #include <stdint.h> #include <stdlib.h> #include <bootstate.h> -#include <commonlib/bsd/compiler.h> #include <console/console.h> #include <smp/node.h> #include <thread.h> 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> |