From b74f45e9c4ae7bb504986298df8da89b6f017e65 Mon Sep 17 00:00:00 2001 From: Elyes HAOUAS Date: Mon, 11 May 2020 19:59:14 +0200 Subject: src: Remove unused 'include ' Unused includes found using following commande: diff <(git grep -l '#include ' -- src/) <(git grep -l 'memcpy\|memmove\|memset\|memcmp\|memchr\|strdup\|strconcat\|strnlen\|strlen\|strchr\|strncpy\|strcpy\|strcmp\|strncmp\|strspn\|strcspn\|atol\|strrchr\|skip_atoi\|STRINGIFY' -- src/) |grep -v vendorcode |grep '<' Change-Id: Ibaeec213b6019dfa9c45e3424b38af0e094d0c51 Signed-off-by: Elyes HAOUAS Reviewed-on: https://review.coreboot.org/c/coreboot/+/41242 Tested-by: build bot (Jenkins) Reviewed-by: Wim Vervoorn --- src/soc/intel/cannonlake/bootblock/report_platform.c | 1 - src/soc/intel/common/block/cse/cse_lite.c | 1 - src/soc/intel/common/block/cse/disable_heci.c | 1 - src/soc/intel/common/block/smbus/smbuslib.c | 1 - 4 files changed, 4 deletions(-) (limited to 'src/soc/intel') diff --git a/src/soc/intel/cannonlake/bootblock/report_platform.c b/src/soc/intel/cannonlake/bootblock/report_platform.c index fe52de1d95..b29cf7dd9e 100644 --- a/src/soc/intel/cannonlake/bootblock/report_platform.c +++ b/src/soc/intel/cannonlake/bootblock/report_platform.c @@ -11,7 +11,6 @@ #include #include #include -#include #define BIOS_SIGN_ID 0x8B diff --git a/src/soc/intel/common/block/cse/cse_lite.c b/src/soc/intel/common/block/cse/cse_lite.c index 9e154f453b..b985a94628 100644 --- a/src/soc/intel/common/block/cse/cse_lite.c +++ b/src/soc/intel/common/block/cse/cse_lite.c @@ -4,7 +4,6 @@ #include #include #include -#include /* Converts bp index to boot partition string */ #define GET_BP_STR(bp_index) (bp_index ? "RW" : "RO") diff --git a/src/soc/intel/common/block/cse/disable_heci.c b/src/soc/intel/common/block/cse/disable_heci.c index e27783a6a7..664a2f7b30 100644 --- a/src/soc/intel/common/block/cse/disable_heci.c +++ b/src/soc/intel/common/block/cse/disable_heci.c @@ -10,7 +10,6 @@ #include #include #include -#include #define CSME0_FBE 0xf #define CSME0_BAR 0x0 diff --git a/src/soc/intel/common/block/smbus/smbuslib.c b/src/soc/intel/common/block/smbus/smbuslib.c index a1a88180f2..8f337c1c1d 100644 --- a/src/soc/intel/common/block/smbus/smbuslib.c +++ b/src/soc/intel/common/block/smbus/smbuslib.c @@ -4,7 +4,6 @@ #include #include #include -#include #include "smbuslib.h" static void update_spd_len(struct spd_block *blk) -- cgit v1.2.3