summaryrefslogtreecommitdiff
path: root/src/soc/rockchip
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/rockchip
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/rockchip')
-rw-r--r--src/soc/rockchip/common/vop.c1
-rw-r--r--src/soc/rockchip/rk3288/display.c1
-rw-r--r--src/soc/rockchip/rk3288/soc.c1
-rw-r--r--src/soc/rockchip/rk3399/soc.c1
4 files changed, 0 insertions, 4 deletions
diff --git a/src/soc/rockchip/common/vop.c b/src/soc/rockchip/common/vop.c
index 515395b7c3..5674339b04 100644
--- a/src/soc/rockchip/common/vop.c
+++ b/src/soc/rockchip/common/vop.c
@@ -1,7 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#include <device/mmio.h>
-#include <stddef.h>
#include <soc/addressmap.h>
#include <soc/clock.h>
#include <soc/edp.h>
diff --git a/src/soc/rockchip/rk3288/display.c b/src/soc/rockchip/rk3288/display.c
index 2ad17b4f89..fd86b95d68 100644
--- a/src/soc/rockchip/rk3288/display.c
+++ b/src/soc/rockchip/rk3288/display.c
@@ -7,7 +7,6 @@
#include <delay.h>
#include <edid.h>
#include <gpio.h>
-#include <stddef.h>
#include <string.h>
#include <soc/addressmap.h>
#include <soc/clock.h>
diff --git a/src/soc/rockchip/rk3288/soc.c b/src/soc/rockchip/rk3288/soc.c
index 4375f1bbc9..b23c803422 100644
--- a/src/soc/rockchip/rk3288/soc.c
+++ b/src/soc/rockchip/rk3288/soc.c
@@ -7,7 +7,6 @@
#include <soc/display.h>
#include <soc/soc.h>
#include <soc/sdram.h>
-#include <stddef.h>
#include <symbols.h>
#include "chip.h"
diff --git a/src/soc/rockchip/rk3399/soc.c b/src/soc/rockchip/rk3399/soc.c
index 92019a054e..89e33631bf 100644
--- a/src/soc/rockchip/rk3399/soc.c
+++ b/src/soc/rockchip/rk3399/soc.c
@@ -9,7 +9,6 @@
#include <soc/display.h>
#include <soc/sdram.h>
#include <soc/symbols.h>
-#include <stddef.h>
#include <symbols.h>
void bootmem_platform_add_ranges(void)