diff options
author | Elyes Haouas <ehaouas@noos.fr> | 2024-04-10 10:42:30 +0200 |
---|---|---|
committer | Elyes Haouas <ehaouas@noos.fr> | 2024-04-11 19:24:44 +0000 |
commit | fd9f697e518150f85e3a17f58deffe8a9a8dcbad (patch) | |
tree | ea023fdff64752da0a34bb251f8222c06f218753 | |
parent | 31402178c56108e752b95c34562b6e3554a2c1d8 (diff) |
tree: Drop unused <stdlib.h>
Change-Id: Ie7e36cfa5a09d94bb58f12f9bd262255a630424c
Signed-off-by: Elyes Haouas <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/81819
Reviewed-by: Yidi Lin <yidilin@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
-rw-r--r-- | src/drivers/efi/efivars.c | 1 | ||||
-rw-r--r-- | src/drivers/efi/option.c | 1 | ||||
-rw-r--r-- | src/drivers/usb/hub/acpi.c | 1 | ||||
-rw-r--r-- | src/lib/bootsplash.c | 1 | ||||
-rw-r--r-- | src/soc/intel/xeon_sp/chip_common.c | 1 | ||||
-rw-r--r-- | src/soc/intel/xeon_sp/chip_gen1.c | 1 | ||||
-rw-r--r-- | src/soc/intel/xeon_sp/iio_ioapic.c | 1 | ||||
-rw-r--r-- | src/soc/intel/xeon_sp/spr/soc_util.c | 1 | ||||
-rw-r--r-- | src/soc/mediatek/common/early_init.c | 1 | ||||
-rw-r--r-- | src/soc/mediatek/mt8195/pcie.c | 1 | ||||
-rw-r--r-- | src/soc/qualcomm/sc7280/display/edp_ctrl.c | 1 | ||||
-rw-r--r-- | src/superio/nuvoton/npcd378/superio.c | 1 |
12 files changed, 0 insertions, 12 deletions
diff --git a/src/drivers/efi/efivars.c b/src/drivers/efi/efivars.c index a7590702f8..2591eab730 100644 --- a/src/drivers/efi/efivars.c +++ b/src/drivers/efi/efivars.c @@ -1,7 +1,6 @@ /* SPDX-License-Identifier: GPL-2.0-only */ #include <stdint.h> -#include <stdlib.h> #include <string.h> #include <console/console.h> diff --git a/src/drivers/efi/option.c b/src/drivers/efi/option.c index 8e5b326718..d634c96354 100644 --- a/src/drivers/efi/option.c +++ b/src/drivers/efi/option.c @@ -1,6 +1,5 @@ /* SPDX-License-Identifier: GPL-2.0-only */ -#include <stdlib.h> #include <option.h> #include <smmstore.h> diff --git a/src/drivers/usb/hub/acpi.c b/src/drivers/usb/hub/acpi.c index 3944952eab..ebbe4b2cf5 100644 --- a/src/drivers/usb/hub/acpi.c +++ b/src/drivers/usb/hub/acpi.c @@ -2,7 +2,6 @@ #include <acpi/acpigen.h> #include <acpi/acpi_device.h> -#include <stdlib.h> #include "chip.h" diff --git a/src/lib/bootsplash.c b/src/lib/bootsplash.c index 0512770668..38d0ce7c97 100644 --- a/src/lib/bootsplash.c +++ b/src/lib/bootsplash.c @@ -5,7 +5,6 @@ #include <console/console.h> #include <endian.h> #include <bootsplash.h> -#include <stdlib.h> #include "jpeg.h" diff --git a/src/soc/intel/xeon_sp/chip_common.c b/src/soc/intel/xeon_sp/chip_common.c index aabc54d681..a2de2d4711 100644 --- a/src/soc/intel/xeon_sp/chip_common.c +++ b/src/soc/intel/xeon_sp/chip_common.c @@ -9,7 +9,6 @@ #include <soc/chip_common.h> #include <soc/soc_util.h> #include <soc/util.h> -#include <stdlib.h> /** * Find all device of a given vendor and type for the specified socket. diff --git a/src/soc/intel/xeon_sp/chip_gen1.c b/src/soc/intel/xeon_sp/chip_gen1.c index 7e831ab102..143cc89095 100644 --- a/src/soc/intel/xeon_sp/chip_gen1.c +++ b/src/soc/intel/xeon_sp/chip_gen1.c @@ -12,7 +12,6 @@ #include <soc/chip_common.h> #include <soc/soc_util.h> #include <soc/util.h> -#include <stdlib.h> static const STACK_RES *domain_to_stack_res(const struct device *dev) { diff --git a/src/soc/intel/xeon_sp/iio_ioapic.c b/src/soc/intel/xeon_sp/iio_ioapic.c index 3a99477a7f..66b827f532 100644 --- a/src/soc/intel/xeon_sp/iio_ioapic.c +++ b/src/soc/intel/xeon_sp/iio_ioapic.c @@ -5,7 +5,6 @@ #include <soc/chip_common.h> #include <soc/util.h> #include <stdint.h> -#include <stdlib.h> static uintptr_t xeonsp_ioapic_bases[CONFIG_MAX_SOCKET * MAX_IIO_STACK + 1]; diff --git a/src/soc/intel/xeon_sp/spr/soc_util.c b/src/soc/intel/xeon_sp/spr/soc_util.c index 83418dcf29..9ad09f4c4b 100644 --- a/src/soc/intel/xeon_sp/spr/soc_util.c +++ b/src/soc/intel/xeon_sp/spr/soc_util.c @@ -10,7 +10,6 @@ #include <soc/pci_devs.h> #include <soc/soc_util.h> #include <soc/util.h> -#include <stdlib.h> #include <pc80/mc146818rtc.h> const EWL_PRIVATE_DATA *get_ewl_hob(void) diff --git a/src/soc/mediatek/common/early_init.c b/src/soc/mediatek/common/early_init.c index 55ba447ce0..0587802681 100644 --- a/src/soc/mediatek/common/early_init.c +++ b/src/soc/mediatek/common/early_init.c @@ -2,7 +2,6 @@ #include <assert.h> #include <soc/early_init.h> -#include <stdlib.h> #include <string.h> static struct early_init_data *find_early_init(void) diff --git a/src/soc/mediatek/mt8195/pcie.c b/src/soc/mediatek/mt8195/pcie.c index 960d0bb480..eb7ad8725e 100644 --- a/src/soc/mediatek/mt8195/pcie.c +++ b/src/soc/mediatek/mt8195/pcie.c @@ -7,7 +7,6 @@ #include <soc/early_init.h> #include <soc/pcie.h> #include <soc/pcie_common.h> -#include <stdlib.h> #define PCIE_REG_BASE_PORT0 0x112f0000 #define PCIE_RST_CTRL_REG (PCIE_REG_BASE_PORT0 + 0x148) diff --git a/src/soc/qualcomm/sc7280/display/edp_ctrl.c b/src/soc/qualcomm/sc7280/display/edp_ctrl.c index 2bf7958293..48a832a9d9 100644 --- a/src/soc/qualcomm/sc7280/display/edp_ctrl.c +++ b/src/soc/qualcomm/sc7280/display/edp_ctrl.c @@ -7,7 +7,6 @@ #include <delay.h> #include <types.h> #include <string.h> -#include <stdlib.h> #include <soc/clock.h> #include <gpio.h> #include <soc/display/edp_reg.h> diff --git a/src/superio/nuvoton/npcd378/superio.c b/src/superio/nuvoton/npcd378/superio.c index ddf63cdb72..d642dd51c6 100644 --- a/src/superio/nuvoton/npcd378/superio.c +++ b/src/superio/nuvoton/npcd378/superio.c @@ -10,7 +10,6 @@ #include <acpi/acpi.h> #include <acpi/acpigen.h> #include <superio/common/ssdt.h> -#include <stdlib.h> #include "npcd378.h" |