From a9cbfc70296b4ca4f47210826983dd90ccf32cf9 Mon Sep 17 00:00:00 2001 From: Elyes HAOUAS Date: Sun, 14 Feb 2021 20:10:55 +0100 Subject: [PATCH] src/{drivers,security}: Remove unused Found using: diff <(git grep -l '#include ' -- src/) <(git grep -l 'STRINGIFY\|memcpy\|memmove\|memset\|memcmp\|memchr\|strdup\|strconcat\|strnlen\|strlen\|strchr\|strncpy\|strcpy\|strcmp\|strncmp\|strspn\|strcspn\|strstr\|strtok_r\|strtok\|atol\|strrchr\|skip_atoi\|snprintf' -- src/)|grep '<' Change-Id: Ief86a596b036487a17f98469c04faa2f8f929cfc Signed-off-by: Elyes HAOUAS Reviewed-on: https://review.coreboot.org/c/coreboot/+/50691 Tested-by: build bot (Jenkins) Reviewed-by: Angel Pons --- src/drivers/intel/usb4/retimer/retimer.c | 2 +- src/security/intel/txt/logging.c | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/drivers/intel/usb4/retimer/retimer.c b/src/drivers/intel/usb4/retimer/retimer.c index f884ac6004..4e56d641f8 100644 --- a/src/drivers/intel/usb4/retimer/retimer.c +++ b/src/drivers/intel/usb4/retimer/retimer.c @@ -6,7 +6,7 @@ #include #include #include -#include + #include "chip.h" #include "retimer.h" diff --git a/src/security/intel/txt/logging.c b/src/security/intel/txt/logging.c index 7d8dcf7979..683247d7ac 100644 --- a/src/security/intel/txt/logging.c +++ b/src/security/intel/txt/logging.c @@ -3,7 +3,6 @@ #include #include #include -#include #include #include "txt.h"