From c14ba95bebf44154d512abd4741b080b5ed72fd8 Mon Sep 17 00:00:00 2001 From: Elyes HAOUAS Date: Fri, 7 Jan 2022 22:28:13 +0100 Subject: [PATCH] src/{drivers,lib}: Remove unused Found using: diff <(git grep -l '#include ' -- src/) <(git grep -l 'console_time_report\|console_time_get_and_reset\|do_putchar\|vprintk\|printk\|console_log_level\|console_init\|get_log_level\|CONSOLE_ENABLE\|get_console_loglevel\|die_notify\|die_with_post_code\|die\|arch_post_code\|mainboard_post\|post_code\|RAM_SPEW\|RAM_DEBUG\|BIOS_EMERG\|BIOS_ALERT\|BIOS_CRIT\|BIOS_ERR\|BIOS_WARNING\|BIOS_NOTICE\|BIOS_INFO\|BIOS_DEBUG\|BIOS_SPEW\|BIOS_NEVER' -- src/) |grep "<" Change-Id: Ifad13ef418db204cf132fe00f75c6e66cd2bc51b Signed-off-by: Elyes HAOUAS Reviewed-on: https://review.coreboot.org/c/coreboot/+/60928 Tested-by: build bot (Jenkins) Reviewed-by: Angel Pons --- src/drivers/generic/ioapic/ioapic.c | 1 - src/lib/dp_aux.c | 1 - 2 files changed, 2 deletions(-) diff --git a/src/drivers/generic/ioapic/ioapic.c b/src/drivers/generic/ioapic/ioapic.c index b286af3c14..0097c594af 100644 --- a/src/drivers/generic/ioapic/ioapic.c +++ b/src/drivers/generic/ioapic/ioapic.c @@ -1,6 +1,5 @@ /* SPDX-License-Identifier: GPL-2.0-only */ -#include #include #include "chip.h" #include diff --git a/src/lib/dp_aux.c b/src/lib/dp_aux.c index b584a37691..c6e2de2d62 100644 --- a/src/lib/dp_aux.c +++ b/src/lib/dp_aux.c @@ -1,7 +1,6 @@ /* SPDX-License-Identifier: GPL-2.0-only */ #include -#include bool dp_aux_request_is_write(enum aux_request request) {