summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElyes Haouas <ehaouas@noos.fr>2024-11-17 11:03:49 +0100
committerFelix Singer <service+coreboot-gerrit@felixsinger.de>2024-11-19 00:40:04 +0000
commit006887b688219c8c5e2c301780906892565fc2f1 (patch)
treeec15d2fce70af7ac3233a942495bf6c795c2aafc
parent1e0ce7a9d8d67e83c67e22dd51d5b8e8f6e7cb8d (diff)
tree: Remove unused <assert.h>
Remove <assert.h> when it is not used. Change-Id: Icb8ee7dcfd05e0a3131d02d1bc8fe150bbf9527b Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/85164 Reviewed-by: Yidi Lin <yidilin@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Singer <service+coreboot-gerrit@felixsinger.de>
-rw-r--r--src/mainboard/aoostar/wtr_r1/romstage_fsp_params.c1
-rw-r--r--src/mainboard/google/brox/variants/brox/variant.c1
-rw-r--r--src/mainboard/google/brox/variants/greenbayupoc/variant.c1
-rw-r--r--src/mainboard/google/brox/variants/jubilant/variant.c1
-rw-r--r--src/mainboard/google/brox/variants/lotso/variant.c1
-rw-r--r--src/mainboard/google/corsola/regulator.c1
-rw-r--r--src/mainboard/intel/adlrvp/romstage_fsp_params.c1
-rw-r--r--src/mainboard/intel/shadowmountain/romstage.c1
-rw-r--r--src/mainboard/intel/tglrvp/romstage_fsp_params.c2
-rw-r--r--src/mainboard/lattepanda/mu/romstage_fsp_params.c1
-rw-r--r--src/mainboard/msi/ms7d25/romstage_fsp_params.c1
-rw-r--r--src/mainboard/msi/ms7e06/romstage_fsp_params.c1
-rw-r--r--src/mainboard/prodrive/atlas/romstage_fsp_params.c1
-rw-r--r--src/mainboard/razer/blade_stealth_kbl/romstage.c1
-rw-r--r--src/soc/amd/cezanne/fch.c1
-rw-r--r--src/soc/amd/common/block/cpu/noncar/early_cache.c1
-rw-r--r--src/soc/amd/common/block/psp/psp_efs.c1
-rw-r--r--src/soc/amd/glinda/fch.c1
-rw-r--r--src/soc/amd/mendocino/fch.c1
-rw-r--r--src/soc/amd/phoenix/fch.c1
-rw-r--r--src/soc/amd/stoneyridge/memmap.c1
-rw-r--r--src/soc/intel/common/block/graphics/graphics.c1
-rw-r--r--src/soc/intel/common/block/irq/irq.c1
-rw-r--r--src/soc/intel/denverton_ns/memmap.c1
-rw-r--r--src/soc/intel/meteorlake/cpu.c1
-rw-r--r--src/soc/intel/pantherlake/cpu.c1
-rw-r--r--src/soc/intel/xeon_sp/chip_common.c1
-rw-r--r--src/soc/intel/xeon_sp/cpx/romstage.c1
-rw-r--r--src/soc/intel/xeon_sp/cpx/soc_acpi.c1
-rw-r--r--src/soc/intel/xeon_sp/gnr/soc_acpi.c1
-rw-r--r--src/soc/intel/xeon_sp/iio_ioapic.c1
-rw-r--r--src/soc/intel/xeon_sp/skx/soc_acpi.c1
-rw-r--r--src/soc/intel/xeon_sp/spr/soc_acpi.c1
-rw-r--r--src/soc/mediatek/common/dsi.c1
-rw-r--r--src/soc/mediatek/common/pmif.c1
-rw-r--r--src/soc/mediatek/common/pmif_init.c1
-rw-r--r--src/soc/mediatek/mt8183/dramc_pi_calibration_api.c1
-rw-r--r--src/soc/mediatek/mt8186/spm.c1
-rw-r--r--src/soc/mediatek/mt8188/spm.c1
-rw-r--r--src/soc/mediatek/mt8192/gpio.c1
-rw-r--r--src/soc/mediatek/mt8192/spm.c1
-rw-r--r--src/soc/mediatek/mt8195/spm.c1
-rw-r--r--src/soc/qualcomm/qcs405/i2c.c1
-rw-r--r--src/soc/qualcomm/sc7280/socinfo.c1
-rw-r--r--src/soc/sifive/fu740/gpio.c1
-rw-r--r--src/southbridge/intel/i82870/ioapic.c1
46 files changed, 1 insertions, 46 deletions
diff --git a/src/mainboard/aoostar/wtr_r1/romstage_fsp_params.c b/src/mainboard/aoostar/wtr_r1/romstage_fsp_params.c
index 1477bc038a..179fab1432 100644
--- a/src/mainboard/aoostar/wtr_r1/romstage_fsp_params.c
+++ b/src/mainboard/aoostar/wtr_r1/romstage_fsp_params.c
@@ -1,6 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-#include <assert.h>
#include <fsp/api.h>
#include <soc/romstage.h>
#include <soc/meminit.h>
diff --git a/src/mainboard/google/brox/variants/brox/variant.c b/src/mainboard/google/brox/variants/brox/variant.c
index f09c60e7a3..ca28f05921 100644
--- a/src/mainboard/google/brox/variants/brox/variant.c
+++ b/src/mainboard/google/brox/variants/brox/variant.c
@@ -1,6 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-#include <assert.h>
#include <boardid.h>
#include <baseboard/variants.h>
#include <chip.h>
diff --git a/src/mainboard/google/brox/variants/greenbayupoc/variant.c b/src/mainboard/google/brox/variants/greenbayupoc/variant.c
index 9452ad0eb9..7ea1d9aaab 100644
--- a/src/mainboard/google/brox/variants/greenbayupoc/variant.c
+++ b/src/mainboard/google/brox/variants/greenbayupoc/variant.c
@@ -1,6 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-#include <assert.h>
#include <baseboard/variants.h>
#include <chip.h>
#include <fw_config.h>
diff --git a/src/mainboard/google/brox/variants/jubilant/variant.c b/src/mainboard/google/brox/variants/jubilant/variant.c
index 0ff82d017e..ed0f3de01e 100644
--- a/src/mainboard/google/brox/variants/jubilant/variant.c
+++ b/src/mainboard/google/brox/variants/jubilant/variant.c
@@ -1,6 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-#include <assert.h>
#include <bootstate.h>
#include <baseboard/variants.h>
#include <chip.h>
diff --git a/src/mainboard/google/brox/variants/lotso/variant.c b/src/mainboard/google/brox/variants/lotso/variant.c
index 6121450911..b76034ec2d 100644
--- a/src/mainboard/google/brox/variants/lotso/variant.c
+++ b/src/mainboard/google/brox/variants/lotso/variant.c
@@ -1,6 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-#include <assert.h>
#include <baseboard/variants.h>
#include <chip.h>
#include <fw_config.h>
diff --git a/src/mainboard/google/corsola/regulator.c b/src/mainboard/google/corsola/regulator.c
index e21b9bec01..094e842648 100644
--- a/src/mainboard/google/corsola/regulator.c
+++ b/src/mainboard/google/corsola/regulator.c
@@ -1,6 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-#include <assert.h>
#include <console/console.h>
#include <soc/mt6366.h>
#include <soc/regulator.h>
diff --git a/src/mainboard/intel/adlrvp/romstage_fsp_params.c b/src/mainboard/intel/adlrvp/romstage_fsp_params.c
index bf0fb9b124..46640b6aad 100644
--- a/src/mainboard/intel/adlrvp/romstage_fsp_params.c
+++ b/src/mainboard/intel/adlrvp/romstage_fsp_params.c
@@ -1,6 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-#include <assert.h>
#include <console/console.h>
#include <fsp/api.h>
#include <soc/romstage.h>
diff --git a/src/mainboard/intel/shadowmountain/romstage.c b/src/mainboard/intel/shadowmountain/romstage.c
index fcd829f644..b5cdad8cf4 100644
--- a/src/mainboard/intel/shadowmountain/romstage.c
+++ b/src/mainboard/intel/shadowmountain/romstage.c
@@ -1,6 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-#include <assert.h>
#include <fsp/api.h>
#include <soc/romstage.h>
#include <spd_bin.h>
diff --git a/src/mainboard/intel/tglrvp/romstage_fsp_params.c b/src/mainboard/intel/tglrvp/romstage_fsp_params.c
index 3070569d73..3b40e70c1b 100644
--- a/src/mainboard/intel/tglrvp/romstage_fsp_params.c
+++ b/src/mainboard/intel/tglrvp/romstage_fsp_params.c
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-#include <assert.h>
+
#include <console/console.h>
#include <fsp/api.h>
#include <soc/romstage.h>
diff --git a/src/mainboard/lattepanda/mu/romstage_fsp_params.c b/src/mainboard/lattepanda/mu/romstage_fsp_params.c
index f2b8124773..e4364e2451 100644
--- a/src/mainboard/lattepanda/mu/romstage_fsp_params.c
+++ b/src/mainboard/lattepanda/mu/romstage_fsp_params.c
@@ -1,6 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-#include <assert.h>
#include <console/console.h>
#include <fsp/api.h>
#include <soc/romstage.h>
diff --git a/src/mainboard/msi/ms7d25/romstage_fsp_params.c b/src/mainboard/msi/ms7d25/romstage_fsp_params.c
index 7f5ea85fd5..1494deec8b 100644
--- a/src/mainboard/msi/ms7d25/romstage_fsp_params.c
+++ b/src/mainboard/msi/ms7d25/romstage_fsp_params.c
@@ -1,6 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-#include <assert.h>
#include <fsp/api.h>
#include <soc/romstage.h>
#include <soc/meminit.h>
diff --git a/src/mainboard/msi/ms7e06/romstage_fsp_params.c b/src/mainboard/msi/ms7e06/romstage_fsp_params.c
index 6fa8dc3ca6..c8955f7247 100644
--- a/src/mainboard/msi/ms7e06/romstage_fsp_params.c
+++ b/src/mainboard/msi/ms7e06/romstage_fsp_params.c
@@ -1,6 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-#include <assert.h>
#include <fsp/api.h>
#include <soc/romstage.h>
#include <soc/meminit.h>
diff --git a/src/mainboard/prodrive/atlas/romstage_fsp_params.c b/src/mainboard/prodrive/atlas/romstage_fsp_params.c
index 7e357eca46..ab47dd0e27 100644
--- a/src/mainboard/prodrive/atlas/romstage_fsp_params.c
+++ b/src/mainboard/prodrive/atlas/romstage_fsp_params.c
@@ -1,6 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-#include <assert.h>
#include <fsp/api.h>
#include <soc/romstage.h>
#include <soc/meminit.h>
diff --git a/src/mainboard/razer/blade_stealth_kbl/romstage.c b/src/mainboard/razer/blade_stealth_kbl/romstage.c
index 02bfda4846..e152033d89 100644
--- a/src/mainboard/razer/blade_stealth_kbl/romstage.c
+++ b/src/mainboard/razer/blade_stealth_kbl/romstage.c
@@ -1,6 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-#include <assert.h>
#include <console/console.h>
#include <soc/romstage.h>
#include <spd_bin.h>
diff --git a/src/soc/amd/cezanne/fch.c b/src/soc/amd/cezanne/fch.c
index dfd2b8aba2..b9f529d849 100644
--- a/src/soc/amd/cezanne/fch.c
+++ b/src/soc/amd/cezanne/fch.c
@@ -8,7 +8,6 @@
#include <amdblocks/gpio.h>
#include <amdblocks/i2c.h>
#include <amdblocks/smi.h>
-#include <assert.h>
#include <bootstate.h>
#include <cpu/x86/smm.h>
#include <device/device.h>
diff --git a/src/soc/amd/common/block/cpu/noncar/early_cache.c b/src/soc/amd/common/block/cpu/noncar/early_cache.c
index 2ff8760115..8c5fbc30e8 100644
--- a/src/soc/amd/common/block/cpu/noncar/early_cache.c
+++ b/src/soc/amd/common/block/cpu/noncar/early_cache.c
@@ -2,7 +2,6 @@
#include <amdblocks/cpu.h>
#include <amdblocks/iomap.h>
-#include <assert.h>
#include <cpu/amd/mtrr.h>
#include <cpu/x86/cache.h>
#include <cpu/x86/msr.h>
diff --git a/src/soc/amd/common/block/psp/psp_efs.c b/src/soc/amd/common/block/psp/psp_efs.c
index 7227b9257a..fa69aea554 100644
--- a/src/soc/amd/common/block/psp/psp_efs.c
+++ b/src/soc/amd/common/block/psp/psp_efs.c
@@ -1,7 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#include <amdblocks/psp_efs.h>
-#include <assert.h>
#include <boot_device.h>
#include <commonlib/region.h>
#include <device/mmio.h>
diff --git a/src/soc/amd/glinda/fch.c b/src/soc/amd/glinda/fch.c
index c4db328dd6..2ec54a101f 100644
--- a/src/soc/amd/glinda/fch.c
+++ b/src/soc/amd/glinda/fch.c
@@ -9,7 +9,6 @@
#include <amdblocks/pci_clk_req.h>
#include <amdblocks/reset.h>
#include <amdblocks/smi.h>
-#include <assert.h>
#include <bootstate.h>
#include <cpu/x86/smm.h>
#include <amdblocks/i2c.h>
diff --git a/src/soc/amd/mendocino/fch.c b/src/soc/amd/mendocino/fch.c
index 57b513a557..fc6c587a87 100644
--- a/src/soc/amd/mendocino/fch.c
+++ b/src/soc/amd/mendocino/fch.c
@@ -7,7 +7,6 @@
#include <amdblocks/pci_clk_req.h>
#include <amdblocks/reset.h>
#include <amdblocks/smi.h>
-#include <assert.h>
#include <bootstate.h>
#include <cpu/x86/smm.h>
#include <amdblocks/i2c.h>
diff --git a/src/soc/amd/phoenix/fch.c b/src/soc/amd/phoenix/fch.c
index 52438e3821..dd3460d0d1 100644
--- a/src/soc/amd/phoenix/fch.c
+++ b/src/soc/amd/phoenix/fch.c
@@ -7,7 +7,6 @@
#include <amdblocks/pci_clk_req.h>
#include <amdblocks/reset.h>
#include <amdblocks/smi.h>
-#include <assert.h>
#include <bootstate.h>
#include <cpu/x86/smm.h>
#include <amdblocks/i2c.h>
diff --git a/src/soc/amd/stoneyridge/memmap.c b/src/soc/amd/stoneyridge/memmap.c
index f99c884ccf..67c2a2d647 100644
--- a/src/soc/amd/stoneyridge/memmap.c
+++ b/src/soc/amd/stoneyridge/memmap.c
@@ -1,7 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#include <amdblocks/smm.h>
-#include <assert.h>
#include <stdint.h>
#include <cpu/x86/msr.h>
#include <cpu/x86/smm.h>
diff --git a/src/soc/intel/common/block/graphics/graphics.c b/src/soc/intel/common/block/graphics/graphics.c
index 6b0abc9c36..50d3c518aa 100644
--- a/src/soc/intel/common/block/graphics/graphics.c
+++ b/src/soc/intel/common/block/graphics/graphics.c
@@ -1,7 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0-or-later */
#include <acpi/acpi.h>
-#include <assert.h>
#include <bootmode.h>
#include <console/console.h>
#include <device/mmio.h>
diff --git a/src/soc/intel/common/block/irq/irq.c b/src/soc/intel/common/block/irq/irq.c
index 16d0fa3206..b1ceb0a88c 100644
--- a/src/soc/intel/common/block/irq/irq.c
+++ b/src/soc/intel/common/block/irq/irq.c
@@ -1,6 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-#include <assert.h>
#include <console/console.h>
#include <device/pci.h>
#include <device/pci_ops.h>
diff --git a/src/soc/intel/denverton_ns/memmap.c b/src/soc/intel/denverton_ns/memmap.c
index 957605964e..f97fdf3e04 100644
--- a/src/soc/intel/denverton_ns/memmap.c
+++ b/src/soc/intel/denverton_ns/memmap.c
@@ -2,7 +2,6 @@
#include <arch/romstage.h>
#include <cbmem.h>
-#include <assert.h>
#include <cpu/x86/mtrr.h>
#include <cpu/x86/smm.h>
#include <device/device.h>
diff --git a/src/soc/intel/meteorlake/cpu.c b/src/soc/intel/meteorlake/cpu.c
index 4a74be0d63..c8129f502f 100644
--- a/src/soc/intel/meteorlake/cpu.c
+++ b/src/soc/intel/meteorlake/cpu.c
@@ -1,6 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-#include <assert.h>
#include <console/console.h>
#include <cpu/cpu.h>
#include <cpu/intel/common/common.h>
diff --git a/src/soc/intel/pantherlake/cpu.c b/src/soc/intel/pantherlake/cpu.c
index 9109263528..659ba0cf12 100644
--- a/src/soc/intel/pantherlake/cpu.c
+++ b/src/soc/intel/pantherlake/cpu.c
@@ -1,6 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-#include <assert.h>
#include <console/console.h>
#include <cpu/cpu.h>
#include <cpu/intel/common/common.h>
diff --git a/src/soc/intel/xeon_sp/chip_common.c b/src/soc/intel/xeon_sp/chip_common.c
index 011e1c3297..d819a064b2 100644
--- a/src/soc/intel/xeon_sp/chip_common.c
+++ b/src/soc/intel/xeon_sp/chip_common.c
@@ -1,7 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0-or-later */
#include <acpi/acpigen_pci.h>
-#include <assert.h>
#include <console/console.h>
#include <device/pci.h>
#include <intelblocks/acpi.h>
diff --git a/src/soc/intel/xeon_sp/cpx/romstage.c b/src/soc/intel/xeon_sp/cpx/romstage.c
index ff8ad01cc1..25dc4f6f39 100644
--- a/src/soc/intel/xeon_sp/cpx/romstage.c
+++ b/src/soc/intel/xeon_sp/cpx/romstage.c
@@ -1,6 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-#include <assert.h>
#include <arch/romstage.h>
#include <cbmem.h>
#include <fsp/api.h>
diff --git a/src/soc/intel/xeon_sp/cpx/soc_acpi.c b/src/soc/intel/xeon_sp/cpx/soc_acpi.c
index 1bdfe5815f..58e67fcbd6 100644
--- a/src/soc/intel/xeon_sp/cpx/soc_acpi.c
+++ b/src/soc/intel/xeon_sp/cpx/soc_acpi.c
@@ -3,7 +3,6 @@
#include <acpi/acpigen.h>
#include <arch/smp/mpspec.h>
#include <arch/vga.h>
-#include <assert.h>
#include <cpu/intel/turbo.h>
#include <device/mmio.h>
#include <device/pci.h>
diff --git a/src/soc/intel/xeon_sp/gnr/soc_acpi.c b/src/soc/intel/xeon_sp/gnr/soc_acpi.c
index 76fabd2af2..3bdf0c2269 100644
--- a/src/soc/intel/xeon_sp/gnr/soc_acpi.c
+++ b/src/soc/intel/xeon_sp/gnr/soc_acpi.c
@@ -2,7 +2,6 @@
#include <acpi/acpigen.h>
#include <acpi/acpigen_pci.h>
-#include <assert.h>
#include <intelblocks/acpi.h>
#include <intelblocks/pcr.h>
#include <intelblocks/itss.h>
diff --git a/src/soc/intel/xeon_sp/iio_ioapic.c b/src/soc/intel/xeon_sp/iio_ioapic.c
index 66b827f532..0b9cb9dc2e 100644
--- a/src/soc/intel/xeon_sp/iio_ioapic.c
+++ b/src/soc/intel/xeon_sp/iio_ioapic.c
@@ -1,6 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0-or-later */
-#include <assert.h>
#include <intelblocks/acpi.h>
#include <soc/chip_common.h>
#include <soc/util.h>
diff --git a/src/soc/intel/xeon_sp/skx/soc_acpi.c b/src/soc/intel/xeon_sp/skx/soc_acpi.c
index 30e14d31de..541dd678fb 100644
--- a/src/soc/intel/xeon_sp/skx/soc_acpi.c
+++ b/src/soc/intel/xeon_sp/skx/soc_acpi.c
@@ -3,7 +3,6 @@
#include <acpi/acpigen.h>
#include <arch/smp/mpspec.h>
#include <arch/vga.h>
-#include <assert.h>
#include <cpu/intel/turbo.h>
#include <device/mmio.h>
#include <device/pci.h>
diff --git a/src/soc/intel/xeon_sp/spr/soc_acpi.c b/src/soc/intel/xeon_sp/spr/soc_acpi.c
index 32ef1edb20..88b1fa4160 100644
--- a/src/soc/intel/xeon_sp/spr/soc_acpi.c
+++ b/src/soc/intel/xeon_sp/spr/soc_acpi.c
@@ -3,7 +3,6 @@
#include <acpi/acpigen.h>
#include <arch/smp/mpspec.h>
#include <arch/vga.h>
-#include <assert.h>
#include <cpu/intel/turbo.h>
#include <device/mmio.h>
#include <device/pci.h>
diff --git a/src/soc/mediatek/common/dsi.c b/src/soc/mediatek/common/dsi.c
index f72173e4ad..696f849a6a 100644
--- a/src/soc/mediatek/common/dsi.c
+++ b/src/soc/mediatek/common/dsi.c
@@ -1,6 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-#include <assert.h>
#include <console/console.h>
#include <mipi/panel.h>
#include <device/mmio.h>
diff --git a/src/soc/mediatek/common/pmif.c b/src/soc/mediatek/common/pmif.c
index 11e279db6b..50fddc810b 100644
--- a/src/soc/mediatek/common/pmif.c
+++ b/src/soc/mediatek/common/pmif.c
@@ -1,6 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-#include <assert.h>
#include <console/console.h>
#include <device/mmio.h>
#include <soc/addressmap.h>
diff --git a/src/soc/mediatek/common/pmif_init.c b/src/soc/mediatek/common/pmif_init.c
index c430ad6806..73b22cf670 100644
--- a/src/soc/mediatek/common/pmif_init.c
+++ b/src/soc/mediatek/common/pmif_init.c
@@ -1,6 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-#include <assert.h>
#include <device/mmio.h>
#include <soc/addressmap.h>
#include <soc/pmif_spi.h>
diff --git a/src/soc/mediatek/mt8183/dramc_pi_calibration_api.c b/src/soc/mediatek/mt8183/dramc_pi_calibration_api.c
index 39a1dd4340..9ef28f650f 100644
--- a/src/soc/mediatek/mt8183/dramc_pi_calibration_api.c
+++ b/src/soc/mediatek/mt8183/dramc_pi_calibration_api.c
@@ -1,6 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-#include <assert.h>
#include <console/console.h>
#include <delay.h>
#include <device/mmio.h>
diff --git a/src/soc/mediatek/mt8186/spm.c b/src/soc/mediatek/mt8186/spm.c
index 00e2c27d86..f81add774b 100644
--- a/src/soc/mediatek/mt8186/spm.c
+++ b/src/soc/mediatek/mt8186/spm.c
@@ -5,7 +5,6 @@
* Chapter number: 3.5
*/
-#include <assert.h>
#include <soc/mcu_common.h>
#include <soc/spm.h>
diff --git a/src/soc/mediatek/mt8188/spm.c b/src/soc/mediatek/mt8188/spm.c
index c87d1f014b..032439938f 100644
--- a/src/soc/mediatek/mt8188/spm.c
+++ b/src/soc/mediatek/mt8188/spm.c
@@ -1,6 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0-only OR MIT */
-#include <assert.h>
#include <soc/mcu_common.h>
#include <soc/pll.h>
#include <soc/spm.h>
diff --git a/src/soc/mediatek/mt8192/gpio.c b/src/soc/mediatek/mt8192/gpio.c
index b10ff58731..600964539a 100644
--- a/src/soc/mediatek/mt8192/gpio.c
+++ b/src/soc/mediatek/mt8192/gpio.c
@@ -2,7 +2,6 @@
#include <device/mmio.h>
#include <gpio.h>
-#include <assert.h>
void *gpio_find_reg_addr(gpio_t gpio)
{
diff --git a/src/soc/mediatek/mt8192/spm.c b/src/soc/mediatek/mt8192/spm.c
index ec893605b3..e4923c0ffa 100644
--- a/src/soc/mediatek/mt8192/spm.c
+++ b/src/soc/mediatek/mt8192/spm.c
@@ -1,6 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-#include <assert.h>
#include <soc/mcu_common.h>
#include <soc/spm.h>
diff --git a/src/soc/mediatek/mt8195/spm.c b/src/soc/mediatek/mt8195/spm.c
index 01df38d859..665cd46656 100644
--- a/src/soc/mediatek/mt8195/spm.c
+++ b/src/soc/mediatek/mt8195/spm.c
@@ -1,6 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0-only OR MIT */
-#include <assert.h>
#include <soc/mcu_common.h>
#include <soc/spm.h>
diff --git a/src/soc/qualcomm/qcs405/i2c.c b/src/soc/qualcomm/qcs405/i2c.c
index 85af6e4a85..2d0ec91921 100644
--- a/src/soc/qualcomm/qcs405/i2c.c
+++ b/src/soc/qualcomm/qcs405/i2c.c
@@ -1,6 +1,5 @@
/* SPDX-License-Identifier: BSD-3-Clause */
-#include <assert.h>
#include <console/console.h>
#include <device/i2c_simple.h>
#include <string.h>
diff --git a/src/soc/qualcomm/sc7280/socinfo.c b/src/soc/qualcomm/sc7280/socinfo.c
index 63e5b93311..4f207850ee 100644
--- a/src/soc/qualcomm/sc7280/socinfo.c
+++ b/src/soc/qualcomm/sc7280/socinfo.c
@@ -1,6 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-#include <assert.h>
#include <commonlib/helpers.h>
#include <console/console.h>
#include <device/mmio.h>
diff --git a/src/soc/sifive/fu740/gpio.c b/src/soc/sifive/fu740/gpio.c
index 0a9d8d6ff7..8d72f2dbd7 100644
--- a/src/soc/sifive/fu740/gpio.c
+++ b/src/soc/sifive/fu740/gpio.c
@@ -2,7 +2,6 @@
#include <soc/addressmap.h>
#include <stdint.h>
-#include <assert.h>
#include <device/mmio.h>
#include <gpio.h>
diff --git a/src/southbridge/intel/i82870/ioapic.c b/src/southbridge/intel/i82870/ioapic.c
index 4a25f6b951..2c85cb95aa 100644
--- a/src/southbridge/intel/i82870/ioapic.c
+++ b/src/southbridge/intel/i82870/ioapic.c
@@ -5,7 +5,6 @@
#include <device/pci.h>
#include <device/pci_ids.h>
#include <device/pci_ops.h>
-#include <assert.h>
#include <types.h>
#include "82870.h"