tree: Remove unused <string.h>
Change-Id: I9ed1a82fcd3fc29124ddc406592bd45dc84d4628 Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/82666 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Yu-Ping Wu <yupingso@google.com> Reviewed-by: Yidi Lin <yidilin@google.com>
This commit is contained in:
@@ -6,7 +6,6 @@
|
||||
#include <console/console.h>
|
||||
#include <smbios.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
static void smbios_processor_id(u32 *processor_id)
|
||||
{
|
||||
|
@@ -3,7 +3,6 @@
|
||||
#ifndef _VM_H
|
||||
#define _VM_H
|
||||
|
||||
#include <string.h>
|
||||
#include <stdint.h>
|
||||
#include <arch/encoding.h>
|
||||
|
||||
|
@@ -1,6 +1,5 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
|
||||
#include <string.h>
|
||||
#include <smbios.h>
|
||||
#include <console/console.h>
|
||||
#include <arch/cpu.h>
|
||||
|
@@ -2,7 +2,6 @@
|
||||
|
||||
#include <console/vtxprintf.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
struct vsnprintf_context {
|
||||
char *str_buf;
|
||||
|
@@ -7,7 +7,6 @@
|
||||
#include <device/device.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "chip.h"
|
||||
|
||||
|
@@ -4,7 +4,7 @@
|
||||
#include <acpi/acpigen.h>
|
||||
#include <device/device.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "chip.h"
|
||||
#include <console/console.h>
|
||||
|
||||
|
@@ -4,7 +4,6 @@
|
||||
#include <acpi/acpigen.h>
|
||||
#include <device/device.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "chip.h"
|
||||
|
||||
|
@@ -8,7 +8,7 @@
|
||||
#include <device/device.h>
|
||||
#include <gpio.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "chip.h"
|
||||
|
||||
#if CONFIG(HAVE_ACPI_TABLES)
|
||||
|
@@ -5,7 +5,6 @@
|
||||
#include <console/console.h>
|
||||
#include <device/device.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "chip.h"
|
||||
|
||||
|
@@ -5,7 +5,6 @@
|
||||
#include <console/console.h>
|
||||
#include <device/device.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "chip.h"
|
||||
|
||||
|
@@ -5,7 +5,7 @@
|
||||
#include <assert.h>
|
||||
#include <device/device.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "chip.h"
|
||||
#include <gpio.h>
|
||||
#include <console/console.h>
|
||||
|
@@ -6,7 +6,7 @@
|
||||
#include <device/i2c_simple.h>
|
||||
#include <device/device.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "chip.h"
|
||||
|
||||
#define I2C_SX9310_ACPI_ID "STH9310"
|
||||
|
@@ -6,7 +6,7 @@
|
||||
#include <device/i2c_simple.h>
|
||||
#include <device/device.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "chip.h"
|
||||
|
||||
#define I2C_SX9324_ACPI_ID "STH9324"
|
||||
|
@@ -6,7 +6,7 @@
|
||||
#include <device/i2c_simple.h>
|
||||
#include <device/device.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "chip.h"
|
||||
|
||||
#define I2C_SX9360_ACPI_ID "STH9360"
|
||||
|
@@ -2,7 +2,7 @@
|
||||
|
||||
#include <acpi/acpigen.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "i915.h"
|
||||
|
||||
void
|
||||
|
@@ -8,7 +8,7 @@
|
||||
#include <drivers/usb/acpi/chip.h>
|
||||
#include <gpio.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "chip.h"
|
||||
#include "retimer.h"
|
||||
|
||||
|
@@ -7,7 +7,7 @@
|
||||
#include <device/spi.h>
|
||||
#include <spi-generic.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "chip.h"
|
||||
|
||||
static int spi_acpi_get_bus(const struct device *dev)
|
||||
|
@@ -7,7 +7,7 @@
|
||||
#include <device/spi.h>
|
||||
#include <spi-generic.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "chip.h"
|
||||
|
||||
static int spi_acpi_get_bus(const struct device *dev)
|
||||
|
@@ -4,7 +4,7 @@
|
||||
#include <acpi/acpigen.h>
|
||||
#include <console/console.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "chip.h"
|
||||
|
||||
static bool uart_acpi_add_gpios_to_crs(struct drivers_uart_acpi_config *config)
|
||||
|
@@ -6,7 +6,7 @@
|
||||
#include <device/device.h>
|
||||
#include <device/path.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "chip.h"
|
||||
|
||||
#define CROS_EC_I2C_TUNNEL_HID "GOOG0012"
|
||||
|
@@ -3,7 +3,6 @@
|
||||
#define BOOTSTATE_H
|
||||
|
||||
#include <assert.h>
|
||||
#include <string.h>
|
||||
#include <stddef.h>
|
||||
/* Only declare main() when in ramstage. */
|
||||
#if ENV_RAMSTAGE
|
||||
|
@@ -4,7 +4,6 @@
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stddef.h>
|
||||
#include <string.h>
|
||||
#include <commonlib/rmodule-defs.h>
|
||||
|
||||
enum {
|
||||
|
@@ -4,7 +4,6 @@
|
||||
#include <smbios.h>
|
||||
#include <stdint.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
/* this function will fill the corresponding locator */
|
||||
__weak void smbios_fill_dimm_locator(const struct dimm_info *dimm, struct smbios_type17 *t)
|
||||
|
@@ -15,7 +15,6 @@
|
||||
#include <soc/pci_devs.h>
|
||||
#include <soc/nhlt.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <timer.h>
|
||||
|
||||
#include <variant/gpio.h>
|
||||
|
@@ -6,7 +6,6 @@
|
||||
#include <gpio.h>
|
||||
#include <soc/sdram.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <types.h>
|
||||
|
||||
static const char *sdram_configs[] = {
|
||||
|
@@ -1,7 +1,6 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
|
||||
#include <amdblocks/acpi.h>
|
||||
#include <string.h>
|
||||
#include <console/console.h>
|
||||
#include <device/device.h>
|
||||
#include <device/mmio.h>
|
||||
|
@@ -20,7 +20,6 @@
|
||||
#include <soc/spm.h>
|
||||
#include <soc/usb.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "gpio.h"
|
||||
#include "panel.h"
|
||||
|
@@ -14,7 +14,6 @@
|
||||
#include <smbios.h>
|
||||
#include <soc/ramstage.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <variant/sku.h>
|
||||
#include <gpio.h>
|
||||
#include <delay.h>
|
||||
|
@@ -7,7 +7,6 @@
|
||||
#include <device/pci_ops.h>
|
||||
#include <smbios.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <variant/sku.h>
|
||||
|
||||
#define R_PCH_OC_WDT_CTL 0x54
|
||||
|
@@ -4,7 +4,6 @@
|
||||
#include <ec/google/chromeec/ec.h>
|
||||
#include <smbios.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <sar.h>
|
||||
|
||||
#define SKU_UNKNOWN 0xFFFFFFFF
|
||||
|
@@ -11,7 +11,6 @@
|
||||
#include <smbios.h>
|
||||
#include <soc/nhlt.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <variant/ec.h>
|
||||
#include <variant/gpio.h>
|
||||
|
||||
|
@@ -12,7 +12,6 @@
|
||||
#include <soc/gpio.h>
|
||||
#include <stdint.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "board_id.h"
|
||||
|
||||
|
@@ -9,7 +9,6 @@
|
||||
#include <soc/ddr.h>
|
||||
#include <soc/iio.h>
|
||||
#include <soc/romstage.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "chip.h"
|
||||
|
||||
|
@@ -9,7 +9,6 @@
|
||||
#include <soc/ddr.h>
|
||||
#include <soc/iio.h>
|
||||
#include <soc/romstage.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "chip.h"
|
||||
|
||||
|
@@ -9,7 +9,6 @@
|
||||
#include <smbios.h>
|
||||
#include <stdint.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
const char *smbios_system_sku(void)
|
||||
{
|
||||
|
@@ -7,7 +7,6 @@
|
||||
#include <soc/gpio.h>
|
||||
#include <smbios.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
const char *smbios_system_sku(void)
|
||||
{
|
||||
|
@@ -1,6 +1,5 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
|
||||
#include <string.h>
|
||||
#include <types.h>
|
||||
#include <device/device.h>
|
||||
#include <console/console.h>
|
||||
|
@@ -17,7 +17,6 @@
|
||||
#include <superio/nuvoton/nct5104d/nct5104d.h>
|
||||
#include <smbios.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <AGESA.h>
|
||||
#include "gpio_ftns.h"
|
||||
|
||||
|
@@ -6,7 +6,6 @@
|
||||
#include <gpio.h>
|
||||
#include <smbios.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <types.h>
|
||||
|
||||
#include "gpio.h"
|
||||
|
@@ -2,7 +2,6 @@
|
||||
|
||||
#include <smbios.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <types.h>
|
||||
|
||||
#include "eeprom.h"
|
||||
|
@@ -11,7 +11,6 @@
|
||||
#include <soc/dsi.h>
|
||||
#include <soc/mtcmos.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
static struct panel_serializable_data *get_mipi_cmd_from_cbfs(struct panel_description *desc)
|
||||
{
|
||||
|
Reference in New Issue
Block a user