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>
This commit is contained in:
Elyes HAOUAS 2020-05-07 21:08:49 +02:00 committed by Patrick Georgi
commit e30c396ffa
33 changed files with 0 additions and 33 deletions

View file

@ -1,6 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#include <stddef.h>
#include <stdint.h>
#include <arch/romstage.h>
#include <bootmode.h>

View file

@ -2,7 +2,6 @@
#include <cbmem.h>
#include <commonlib/helpers.h>
#include <stddef.h>
#include <symbols.h>
#include <soc/emi.h>

View file

@ -2,7 +2,6 @@
#include <device/mmio.h>
#include <edid.h>
#include <stddef.h>
#include <soc/addressmap.h>
#include <soc/ddp.h>

View file

@ -1,6 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#include <stddef.h>
#include <device/mmio.h>
#include <soc/mtcmos.h>

View file

@ -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>

View file

@ -2,7 +2,6 @@
#include <device/mmio.h>
#include <edid.h>
#include <stddef.h>
#include <soc/addressmap.h>
#include <soc/ddp.h>

View file

@ -2,7 +2,6 @@
#include <device/mmio.h>
#include <delay.h>
#include <stddef.h>
#include <soc/addressmap.h>
#include <soc/infracfg.h>

View file

@ -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>

View file

@ -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>

View file

@ -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"

View file

@ -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)

View file

@ -1,6 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#include <stddef.h>
#include <cbmem.h>
#include <soc/cpu.h>

View file

@ -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"

View file

@ -2,7 +2,6 @@
#include <cbmem.h>
#include <soc/cpu.h>
#include <stddef.h>
void *cbmem_top_chipset(void)
{

View file

@ -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"

View file

@ -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

View file

@ -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>

View file

@ -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>