From 48378e1f8d132a3d3bdbb7b1eac5c769c273e6e1 Mon Sep 17 00:00:00 2001 From: Elyes HAOUAS Date: Sat, 23 May 2020 11:18:46 +0200 Subject: src: Remove duplicated includes Change-Id: If8c7e26ebd954b19bfb8766b26570c6865ad255e Signed-off-by: Elyes HAOUAS Reviewed-on: https://review.coreboot.org/c/coreboot/+/41676 Reviewed-by: Angel Pons Tested-by: build bot (Jenkins) --- src/mainboard/51nb/x210/romstage.c | 1 - src/mainboard/google/fizz/mainboard.c | 1 - src/soc/amd/common/block/acpi/acpi.c | 1 - src/soc/amd/common/block/lpc/lpc_util.c | 1 - src/soc/intel/braswell/northcluster.c | 1 - src/soc/mediatek/common/dsi.c | 1 - src/soc/mediatek/mt8173/i2c.c | 2 -- src/southbridge/amd/agesa/hudson/early_setup.c | 1 - src/southbridge/amd/pi/hudson/early_setup.c | 1 - 9 files changed, 10 deletions(-) (limited to 'src') diff --git a/src/mainboard/51nb/x210/romstage.c b/src/mainboard/51nb/x210/romstage.c index caaa52d4a2..60f008c20a 100644 --- a/src/mainboard/51nb/x210/romstage.c +++ b/src/mainboard/51nb/x210/romstage.c @@ -1,6 +1,5 @@ /* SPDX-License-Identifier: GPL-2.0-or-later */ -#include #include #include #include diff --git a/src/mainboard/google/fizz/mainboard.c b/src/mainboard/google/fizz/mainboard.c index c86be82c68..7b8905888a 100644 --- a/src/mainboard/google/fizz/mainboard.c +++ b/src/mainboard/google/fizz/mainboard.c @@ -10,7 +10,6 @@ #include #include #include -#include #include #include #include diff --git a/src/soc/amd/common/block/acpi/acpi.c b/src/soc/amd/common/block/acpi/acpi.c index 964aef1882..2be9b9e25e 100644 --- a/src/soc/amd/common/block/acpi/acpi.c +++ b/src/soc/amd/common/block/acpi/acpi.c @@ -10,7 +10,6 @@ #include #include #include -#include void poweroff(void) { diff --git a/src/soc/amd/common/block/lpc/lpc_util.c b/src/soc/amd/common/block/lpc/lpc_util.c index d2a65c8c96..eb129dc00d 100644 --- a/src/soc/amd/common/block/lpc/lpc_util.c +++ b/src/soc/amd/common/block/lpc/lpc_util.c @@ -12,7 +12,6 @@ /* The LPC-ISA bridge is always at D14F3 */ #if !defined(__SIMPLE_DEVICE__) -#include #define _LPCB_DEV pcidev_on_root(0x14, 0x3) #else #define _LPCB_DEV PCI_DEV(0, 0x14, 0x3) diff --git a/src/soc/intel/braswell/northcluster.c b/src/soc/intel/braswell/northcluster.c index dd49acd3fc..1f310d490e 100644 --- a/src/soc/intel/braswell/northcluster.c +++ b/src/soc/intel/braswell/northcluster.c @@ -7,7 +7,6 @@ #include #include #include -#include #include #include #include diff --git a/src/soc/mediatek/common/dsi.c b/src/soc/mediatek/common/dsi.c index 73dacef33b..2505bbc075 100644 --- a/src/soc/mediatek/common/dsi.c +++ b/src/soc/mediatek/common/dsi.c @@ -1,7 +1,6 @@ /* SPDX-License-Identifier: GPL-2.0-only */ #include -#include #include #include #include diff --git a/src/soc/mediatek/mt8173/i2c.c b/src/soc/mediatek/mt8173/i2c.c index af2e02958b..f80fb97121 100644 --- a/src/soc/mediatek/mt8173/i2c.c +++ b/src/soc/mediatek/mt8173/i2c.c @@ -7,9 +7,7 @@ #include #include #include -#include #include -#include #define I2C_CLK_HZ (AXI_HZ / 16) diff --git a/src/southbridge/amd/agesa/hudson/early_setup.c b/src/southbridge/amd/agesa/hudson/early_setup.c index 63d2b81c22..48649453c1 100644 --- a/src/southbridge/amd/agesa/hudson/early_setup.c +++ b/src/southbridge/amd/agesa/hudson/early_setup.c @@ -7,7 +7,6 @@ #include #include #include -#include #include "hudson.h" diff --git a/src/southbridge/amd/pi/hudson/early_setup.c b/src/southbridge/amd/pi/hudson/early_setup.c index 09a2750fcf..8bca42b6ee 100644 --- a/src/southbridge/amd/pi/hudson/early_setup.c +++ b/src/southbridge/amd/pi/hudson/early_setup.c @@ -9,7 +9,6 @@ #include #include #include -#include #include "hudson.h" #include "pci_devs.h" -- cgit v1.2.3