summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2021-02-14 20:10:55 +0100
committerKyösti Mälkki <kyosti.malkki@gmail.com>2021-02-16 17:19:01 +0000
commita9cbfc70296b4ca4f47210826983dd90ccf32cf9 (patch)
treeffca51f0590ccd6c4b089d5a3ad3019a537e4804 /src
parent037137de15aca5761d3e49dace62e73085c34b62 (diff)
src/{drivers,security}: Remove unused <string.h>
Found using: diff <(git grep -l '#include <string.h>' -- 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 <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/50691 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src')
-rw-r--r--src/drivers/intel/usb4/retimer/retimer.c2
-rw-r--r--src/security/intel/txt/logging.c1
2 files changed, 1 insertions, 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 <device/device.h>
#include <device/path.h>
#include <gpio.h>
-#include <string.h>
+
#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 <arch/mmio.h>
#include <console/console.h>
#include <cpu/x86/smm.h>
-#include <string.h>
#include <types.h>
#include "txt.h"