summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2020-07-10 10:58:57 +0200
committerPatrick Georgi <pgeorgi@google.com>2020-08-18 12:15:44 +0000
commita3759e3a7b5c5a9910624e00e9f315ca9c35dc2e (patch)
tree4cd3dfdc08a89ea4e700e3352c3790b205f9e1be /src
parentabfacd863d90534f8fc3f0665c34e1645533c0e1 (diff)
src: Remove unused 'include <stddef.h>
Change-Id: Iae1e875b466f8a195653d897efa1b297c61ad0a5 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/41912 Reviewed-by: Patrick Georgi <pgeorgi@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src')
-rw-r--r--src/arch/riscv/arch_timer.c1
-rw-r--r--src/arch/riscv/misaligned.c1
-rw-r--r--src/arch/riscv/smp.c1
-rw-r--r--src/console/printk.c1
-rw-r--r--src/lib/timer_queue.c2
-rw-r--r--src/lib/timestamp.c1
-rw-r--r--src/mainboard/google/daisy/memory.c1
-rw-r--r--src/soc/intel/baytrail/romstage/romstage.c1
-rw-r--r--src/soc/nvidia/tegra124/dma.c1
-rw-r--r--src/soc/nvidia/tegra210/dma.c1
-rw-r--r--src/southbridge/intel/lynxpoint/pcie.c1
11 files changed, 1 insertions, 11 deletions
diff --git a/src/arch/riscv/arch_timer.c b/src/arch/riscv/arch_timer.c
index 7e9072b6cd..ad678b7fe5 100644
--- a/src/arch/riscv/arch_timer.c
+++ b/src/arch/riscv/arch_timer.c
@@ -3,7 +3,6 @@
#include <device/mmio.h>
#include <arch/encoding.h>
#include <console/console.h>
-#include <stddef.h>
#include <timer.h>
#include <mcall.h>
diff --git a/src/arch/riscv/misaligned.c b/src/arch/riscv/misaligned.c
index eff51fc96e..244081f384 100644
--- a/src/arch/riscv/misaligned.c
+++ b/src/arch/riscv/misaligned.c
@@ -1,6 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-#include <stddef.h>
#include <stdint.h>
#include <vm.h>
#include <arch/exception.h>
diff --git a/src/arch/riscv/smp.c b/src/arch/riscv/smp.c
index b3e13ff9fb..1d58602627 100644
--- a/src/arch/riscv/smp.c
+++ b/src/arch/riscv/smp.c
@@ -1,6 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-#include <stddef.h>
#include <arch/encoding.h>
#include <arch/smp/smp.h>
#include <arch/smp/spinlock.h>
diff --git a/src/console/printk.c b/src/console/printk.c
index c5e5f97aab..4a3de47832 100644
--- a/src/console/printk.c
+++ b/src/console/printk.c
@@ -10,7 +10,6 @@
#include <console/vtxprintf.h>
#include <smp/spinlock.h>
#include <smp/node.h>
-#include <stddef.h>
#include <trace.h>
#include <timer.h>
diff --git a/src/lib/timer_queue.c b/src/lib/timer_queue.c
index f368409ef1..badc600d64 100644
--- a/src/lib/timer_queue.c
+++ b/src/lib/timer_queue.c
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-#include <stddef.h>
+
#include <timer.h>
#define MAX_TIMER_QUEUE_ENTRIES 64
diff --git a/src/lib/timestamp.c b/src/lib/timestamp.c
index 24d80ea89a..5121eb859c 100644
--- a/src/lib/timestamp.c
+++ b/src/lib/timestamp.c
@@ -1,7 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#include <assert.h>
-#include <stddef.h>
#include <stdint.h>
#include <console/console.h>
#include <cbmem.h>
diff --git a/src/mainboard/google/daisy/memory.c b/src/mainboard/google/daisy/memory.c
index a5b7d3c147..5dc9c3efb3 100644
--- a/src/mainboard/google/daisy/memory.c
+++ b/src/mainboard/google/daisy/memory.c
@@ -5,7 +5,6 @@
#include <soc/setup.h>
#include <soc/dmc.h>
#include <soc/clk.h>
-#include <stddef.h>
const struct mem_timings mem_timings[] = {
{
diff --git a/src/soc/intel/baytrail/romstage/romstage.c b/src/soc/intel/baytrail/romstage/romstage.c
index ddd657a404..76aa711fc8 100644
--- a/src/soc/intel/baytrail/romstage/romstage.c
+++ b/src/soc/intel/baytrail/romstage/romstage.c
@@ -1,6 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-#include <stddef.h>
#include <arch/io.h>
#include <arch/romstage.h>
#include <device/mmio.h>
diff --git a/src/soc/nvidia/tegra124/dma.c b/src/soc/nvidia/tegra124/dma.c
index a6fa93b32e..167f4a1229 100644
--- a/src/soc/nvidia/tegra124/dma.c
+++ b/src/soc/nvidia/tegra124/dma.c
@@ -5,7 +5,6 @@
#include <stdint.h>
#include <soc/addressmap.h>
#include <soc/dma.h>
-#include <stddef.h>
struct apb_dma * const apb_dma = (struct apb_dma *)TEGRA_APB_DMA_BASE;
diff --git a/src/soc/nvidia/tegra210/dma.c b/src/soc/nvidia/tegra210/dma.c
index db57191e6d..26b64c8b34 100644
--- a/src/soc/nvidia/tegra210/dma.c
+++ b/src/soc/nvidia/tegra210/dma.c
@@ -5,7 +5,6 @@
#include <stdint.h>
#include <soc/addressmap.h>
#include <soc/dma.h>
-#include <stddef.h>
struct apb_dma * const apb_dma = (struct apb_dma *)TEGRA_APB_DMA_BASE;
diff --git a/src/southbridge/intel/lynxpoint/pcie.c b/src/southbridge/intel/lynxpoint/pcie.c
index 7df5ac3500..35ce5c4702 100644
--- a/src/southbridge/intel/lynxpoint/pcie.c
+++ b/src/southbridge/intel/lynxpoint/pcie.c
@@ -12,7 +12,6 @@
#include "iobp.h"
#include "pch.h"
#include <southbridge/intel/common/gpio.h>
-#include <stddef.h>
#include <stdint.h>
#include "chip.h"