diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2020-05-07 21:08:49 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2020-05-13 08:48:50 +0000 |
commit | e30c396ffabb3d3c966eecfcd291ca11b815ba7a (patch) | |
tree | 5730cbe86517af03fbefaaa8d56667ec8f208a71 /src/soc | |
parent | f70bd99d2af3627b1dbdbea414941a12d6ecf6b3 (diff) |
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')
-rw-r--r-- | src/soc/intel/broadwell/romstage/romstage.c | 1 | ||||
-rw-r--r-- | src/soc/mediatek/common/cbmem.c | 1 | ||||
-rw-r--r-- | src/soc/mediatek/common/ddp.c | 1 | ||||
-rw-r--r-- | src/soc/mediatek/common/mtcmos.c | 1 | ||||
-rw-r--r-- | src/soc/mediatek/mt8173/ddp.c | 1 | ||||
-rw-r--r-- | src/soc/mediatek/mt8183/ddp.c | 1 | ||||
-rw-r--r-- | src/soc/mediatek/mt8183/pll.c | 1 | ||||
-rw-r--r-- | src/soc/rockchip/common/vop.c | 1 | ||||
-rw-r--r-- | src/soc/rockchip/rk3288/display.c | 1 | ||||
-rw-r--r-- | src/soc/rockchip/rk3288/soc.c | 1 | ||||
-rw-r--r-- | src/soc/rockchip/rk3399/soc.c | 1 | ||||
-rw-r--r-- | src/soc/samsung/exynos5250/cbmem.c | 1 | ||||
-rw-r--r-- | src/soc/samsung/exynos5250/cpu.c | 1 | ||||
-rw-r--r-- | src/soc/samsung/exynos5420/cbmem.c | 1 | ||||
-rw-r--r-- | src/soc/samsung/exynos5420/cpu.c | 1 | ||||
-rw-r--r-- | src/soc/samsung/exynos5420/i2c.c | 1 | ||||
-rw-r--r-- | src/soc/sifive/fu540/otp.c | 1 | ||||
-rw-r--r-- | src/soc/sifive/fu540/uart.c | 1 |
18 files changed, 0 insertions, 18 deletions
diff --git a/src/soc/intel/broadwell/romstage/romstage.c b/src/soc/intel/broadwell/romstage/romstage.c index 4b51bda6f0..54d6134b16 100644 --- a/src/soc/intel/broadwell/romstage/romstage.c +++ b/src/soc/intel/broadwell/romstage/romstage.c @@ -1,6 +1,5 @@ /* SPDX-License-Identifier: GPL-2.0-only */ -#include <stddef.h> #include <stdint.h> #include <arch/romstage.h> #include <bootmode.h> diff --git a/src/soc/mediatek/common/cbmem.c b/src/soc/mediatek/common/cbmem.c index 871d7dd142..f9d11e91c5 100644 --- a/src/soc/mediatek/common/cbmem.c +++ b/src/soc/mediatek/common/cbmem.c @@ -2,7 +2,6 @@ #include <cbmem.h> #include <commonlib/helpers.h> -#include <stddef.h> #include <symbols.h> #include <soc/emi.h> diff --git a/src/soc/mediatek/common/ddp.c b/src/soc/mediatek/common/ddp.c index 64e6e7a778..17a28494f7 100644 --- a/src/soc/mediatek/common/ddp.c +++ b/src/soc/mediatek/common/ddp.c @@ -2,7 +2,6 @@ #include <device/mmio.h> #include <edid.h> -#include <stddef.h> #include <soc/addressmap.h> #include <soc/ddp.h> diff --git a/src/soc/mediatek/common/mtcmos.c b/src/soc/mediatek/common/mtcmos.c index e5d70b806d..71deb71c77 100644 --- a/src/soc/mediatek/common/mtcmos.c +++ b/src/soc/mediatek/common/mtcmos.c @@ -1,6 +1,5 @@ /* SPDX-License-Identifier: GPL-2.0-only */ -#include <stddef.h> #include <device/mmio.h> #include <soc/mtcmos.h> diff --git a/src/soc/mediatek/mt8173/ddp.c b/src/soc/mediatek/mt8173/ddp.c index 93ef0b6544..ec53e12dee 100644 --- a/src/soc/mediatek/mt8173/ddp.c +++ b/src/soc/mediatek/mt8173/ddp.c @@ -2,7 +2,6 @@ #include <device/mmio.h> #include <edid.h> -#include <stddef.h> #include <soc/addressmap.h> #include <soc/ddp.h> #include <types.h> diff --git a/src/soc/mediatek/mt8183/ddp.c b/src/soc/mediatek/mt8183/ddp.c index d427dcb233..13918a07f4 100644 --- a/src/soc/mediatek/mt8183/ddp.c +++ b/src/soc/mediatek/mt8183/ddp.c @@ -2,7 +2,6 @@ #include <device/mmio.h> #include <edid.h> -#include <stddef.h> #include <soc/addressmap.h> #include <soc/ddp.h> diff --git a/src/soc/mediatek/mt8183/pll.c b/src/soc/mediatek/mt8183/pll.c index dedd59d4f2..4570269421 100644 --- a/src/soc/mediatek/mt8183/pll.c +++ b/src/soc/mediatek/mt8183/pll.c @@ -2,7 +2,6 @@ #include <device/mmio.h> #include <delay.h> -#include <stddef.h> #include <soc/addressmap.h> #include <soc/infracfg.h> 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) 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 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> |