summaryrefslogtreecommitdiff
path: root/src/soc/samsung
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/samsung
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/samsung')
-rw-r--r--src/soc/samsung/exynos5250/cbmem.c1
-rw-r--r--src/soc/samsung/exynos5250/cpu.c1
-rw-r--r--src/soc/samsung/exynos5420/cbmem.c1
-rw-r--r--src/soc/samsung/exynos5420/cpu.c1
-rw-r--r--src/soc/samsung/exynos5420/i2c.c1
5 files changed, 0 insertions, 5 deletions
diff --git a/src/soc/samsung/exynos5250/cbmem.c b/src/soc/samsung/exynos5250/cbmem.c
index 8aca86ad28..167bd80a3a 100644
--- a/src/soc/samsung/exynos5250/cbmem.c
+++ b/src/soc/samsung/exynos5250/cbmem.c
@@ -1,6 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-#include <stddef.h>
#include <cbmem.h>
#include <soc/cpu.h>
diff --git a/src/soc/samsung/exynos5250/cpu.c b/src/soc/samsung/exynos5250/cpu.c
index b74b838bb7..514e451ede 100644
--- a/src/soc/samsung/exynos5250/cpu.c
+++ b/src/soc/samsung/exynos5250/cpu.c
@@ -8,7 +8,6 @@
#include <soc/cpu.h>
#include <soc/dp-core.h>
#include <soc/fimd.h>
-#include <stddef.h>
#include <string.h>
#include "chip.h"
diff --git a/src/soc/samsung/exynos5420/cbmem.c b/src/soc/samsung/exynos5420/cbmem.c
index 5cee9be384..167bd80a3a 100644
--- a/src/soc/samsung/exynos5420/cbmem.c
+++ b/src/soc/samsung/exynos5420/cbmem.c
@@ -2,7 +2,6 @@
#include <cbmem.h>
#include <soc/cpu.h>
-#include <stddef.h>
void *cbmem_top_chipset(void)
{
diff --git a/src/soc/samsung/exynos5420/cpu.c b/src/soc/samsung/exynos5420/cpu.c
index 4a294d55ad..8a07552cf6 100644
--- a/src/soc/samsung/exynos5420/cpu.c
+++ b/src/soc/samsung/exynos5420/cpu.c
@@ -9,7 +9,6 @@
#include <soc/fimd.h>
#include <soc/cpu.h>
#include <soc/clk.h>
-#include <stddef.h>
#include <string.h>
#include "chip.h"
diff --git a/src/soc/samsung/exynos5420/i2c.c b/src/soc/samsung/exynos5420/i2c.c
index 416bb46f4c..45657f13cf 100644
--- a/src/soc/samsung/exynos5420/i2c.c
+++ b/src/soc/samsung/exynos5420/i2c.c
@@ -9,7 +9,6 @@
#include <soc/i2c.h>
#include <soc/periph.h>
#include <soc/pinmux.h>
-#include <stddef.h>
#include <timer.h>
struct __packed i2c_regs