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:
parent
f70bd99d2a
commit
e30c396ffa
33 changed files with 0 additions and 33 deletions
|
|
@ -1,6 +1,5 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
#include <arch/romstage.h>
|
||||
#include <bootmode.h>
|
||||
|
|
|
|||
|
|
@ -2,7 +2,6 @@
|
|||
|
||||
#include <cbmem.h>
|
||||
#include <commonlib/helpers.h>
|
||||
#include <stddef.h>
|
||||
#include <symbols.h>
|
||||
#include <soc/emi.h>
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,6 @@
|
|||
|
||||
#include <device/mmio.h>
|
||||
#include <edid.h>
|
||||
#include <stddef.h>
|
||||
#include <soc/addressmap.h>
|
||||
#include <soc/ddp.h>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
#include <device/mmio.h>
|
||||
#include <soc/mtcmos.h>
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -2,7 +2,6 @@
|
|||
|
||||
#include <device/mmio.h>
|
||||
#include <edid.h>
|
||||
#include <stddef.h>
|
||||
#include <soc/addressmap.h>
|
||||
#include <soc/ddp.h>
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,6 @@
|
|||
|
||||
#include <device/mmio.h>
|
||||
#include <delay.h>
|
||||
#include <stddef.h>
|
||||
|
||||
#include <soc/addressmap.h>
|
||||
#include <soc/infracfg.h>
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
|
||||
#include <stddef.h>
|
||||
#include <cbmem.h>
|
||||
#include <soc/cpu.h>
|
||||
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -2,7 +2,6 @@
|
|||
|
||||
#include <cbmem.h>
|
||||
#include <soc/cpu.h>
|
||||
#include <stddef.h>
|
||||
|
||||
void *cbmem_top_chipset(void)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue