From 0aad0531dcbdd0628f9d16e27e34abb3f6e183aa Mon Sep 17 00:00:00 2001 From: Elyes HAOUAS Date: Wed, 29 Apr 2020 07:26:25 +0200 Subject: util/autoport/bd82x6x.go: Drop unused includes Change-Id: Ifc0bf18dedc112e346062e0e0e988ac102991bb8 Signed-off-by: Elyes HAOUAS Reviewed-on: https://review.coreboot.org/c/coreboot/+/40826 Reviewed-by: Paul Menzel Reviewed-by: Angel Pons Tested-by: build bot (Jenkins) --- util/autoport/bd82x6x.go | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/util/autoport/bd82x6x.go b/util/autoport/bd82x6x.go index 9f37aeef4f..4a724418af 100644 --- a/util/autoport/bd82x6x.go +++ b/util/autoport/bd82x6x.go @@ -294,21 +294,12 @@ func (b bd82x6x) Scan(ctx Context, addr PCIDevData) { sb := Create(ctx, "early_init.c") defer sb.Close() Add_gpl(sb) - sb.WriteString(`/* FIXME: Check if all includes are needed. */ - -#include -#include -#include -#include -#include -#include -#include -#include + sb.WriteString(` + #include #include #include #include -#include `) sb.WriteString("const struct southbridge_usb_port mainboard_usb_ports[] = {\n") -- cgit v1.2.3