From 854782330ccd3f92d1b09bd006ddf127ba188cba Mon Sep 17 00:00:00 2001 From: Elyes HAOUAS Date: Thu, 28 May 2020 17:29:45 +0200 Subject: src: Remove unused 'include Found using: diff <(git grep -l '#include ' -- src/) <(git grep -l 'int8_t\|int16_t\|int32_t\|int64_t\|intptr_t\|intmax_t\|s8\|u8\|s16\|u16\|s32\|u32\|s64\|u64\|INT8_MIN\|INT8_MAX\|INT16_MIN\|INT16_MAX\|INT32_MIN\|INT32_MAX\|INT64_MIN\|INT64_MAX\|INTMAX_MIN\|INTMAX_MAX' -- src/) |grep -v vendorcode |grep '<' Change-Id: I5e14bf4887c7d2644a64f4d58c6d8763eb74d2ed Signed-off-by: Elyes HAOUAS Reviewed-on: https://review.coreboot.org/c/coreboot/+/41827 Reviewed-by: Patrick Georgi Tested-by: build bot (Jenkins) --- src/drivers/i2c/rt1011/chip.h | 1 - src/drivers/intel/fsp1_1/include/fsp/car.h | 1 - src/drivers/intel/ptt/ptt.h | 1 - src/drivers/intel/soundwire/soundwire.c | 1 - 4 files changed, 4 deletions(-) (limited to 'src/drivers') diff --git a/src/drivers/i2c/rt1011/chip.h b/src/drivers/i2c/rt1011/chip.h index 9d1a1214d2..e5dee97159 100644 --- a/src/drivers/i2c/rt1011/chip.h +++ b/src/drivers/i2c/rt1011/chip.h @@ -4,7 +4,6 @@ * Realtek RT1011 audio codec devicetree bindings */ -#include struct drivers_i2c_rt1011_config { const char *name; /* ACPI Device Name */ diff --git a/src/drivers/intel/fsp1_1/include/fsp/car.h b/src/drivers/intel/fsp1_1/include/fsp/car.h index db203aeb36..ceb87d860f 100644 --- a/src/drivers/intel/fsp1_1/include/fsp/car.h +++ b/src/drivers/intel/fsp1_1/include/fsp/car.h @@ -4,7 +4,6 @@ #define FSP1_1_CAR_H #include -#include /* Per stage calls from the above two functions. The void * return from * cache_as_ram_stage_main() is the stack pointer to use in RAM after diff --git a/src/drivers/intel/ptt/ptt.h b/src/drivers/intel/ptt/ptt.h index 7bc878d71d..b447d585a7 100644 --- a/src/drivers/intel/ptt/ptt.h +++ b/src/drivers/intel/ptt/ptt.h @@ -8,7 +8,6 @@ * is still in the preboot phase. * */ -#include /* * ptt_active * diff --git a/src/drivers/intel/soundwire/soundwire.c b/src/drivers/intel/soundwire/soundwire.c index ab09ff4473..34ecd86021 100644 --- a/src/drivers/intel/soundwire/soundwire.c +++ b/src/drivers/intel/soundwire/soundwire.c @@ -8,7 +8,6 @@ #include #include #include -#include #include "soundwire.h" #include "chip.h" -- cgit v1.2.3