summaryrefslogtreecommitdiff
path: root/src/drivers
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/drivers
parent037137de15aca5761d3e49dace62e73085c34b62 (diff)
downloadcoreboot-a9cbfc70296b4ca4f47210826983dd90ccf32cf9.tar.xz
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/drivers')
-rw-r--r--src/drivers/intel/usb4/retimer/retimer.c2
1 files changed, 1 insertions, 1 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"