summaryrefslogtreecommitdiff
path: root/src/soc/sifive
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2020-05-07 21:08:49 +0200
committerPatrick Georgi <pgeorgi@google.com>2020-05-13 08:48:50 +0000
commite30c396ffabb3d3c966eecfcd291ca11b815ba7a (patch)
tree5730cbe86517af03fbefaaa8d56667ec8f208a71 /src/soc/sifive
parentf70bd99d2af3627b1dbdbea414941a12d6ecf6b3 (diff)
downloadcoreboot-e30c396ffabb3d3c966eecfcd291ca11b815ba7a.tar.xz
src: Remove unused '#include <stddef.h>'
Unused includes found using following commande: diff <(git grep -l '#include <stddef.h>' -- src/) <(git grep -l 'size_t\|ssize_t\|wchar_t\|wint_t\|NULL\|DEVTREE_EARLY\|DEVTREE_CONST\ |MAYBE_STATIC_NONZERO\|MAYBE_STATIC_BSS\|zeroptr' -- src/)|grep '<' |grep -v vendor |grep -vF '.h' Change-Id: Ic54b1db995fe7c61b416fa5e1c4022238e4a6ad5 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/41150 Reviewed-by: Patrick Georgi <pgeorgi@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/sifive')
-rw-r--r--src/soc/sifive/fu540/otp.c1
-rw-r--r--src/soc/sifive/fu540/uart.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/src/soc/sifive/fu540/otp.c b/src/soc/sifive/fu540/otp.c
index ac74f82473..29f2c16271 100644
--- a/src/soc/sifive/fu540/otp.c
+++ b/src/soc/sifive/fu540/otp.c
@@ -1,6 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-#include <stddef.h>
#include <delay.h>
#include <device/mmio.h>
#include <console/console.h>
diff --git a/src/soc/sifive/fu540/uart.c b/src/soc/sifive/fu540/uart.c
index 6736a1694c..c35e0f6166 100644
--- a/src/soc/sifive/fu540/uart.c
+++ b/src/soc/sifive/fu540/uart.c
@@ -1,6 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-#include <stddef.h>
#include <stdint.h>
#include <console/uart.h>
#include <commonlib/bsd/helpers.h>