From 731e58e3197c43be49430f1b28445fcf85a7ed94 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ky=C3=B6sti=20M=C3=A4lkki?= Date: Sat, 4 Jan 2020 13:00:02 +0200 Subject: drivers/pc80/rtc: Remove stub for sanitize_cmos() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We only have a single call-site for this. Change-Id: I7ab19c6ea4ef01334f4d229c5636b64f99c86119 Signed-off-by: Kyösti Mälkki Reviewed-on: https://review.coreboot.org/c/coreboot/+/38182 Reviewed-by: Angel Pons Reviewed-by: Patrick Rudolph Tested-by: build bot (Jenkins) --- src/include/pc80/mc146818rtc.h | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'src/include') diff --git a/src/include/pc80/mc146818rtc.h b/src/include/pc80/mc146818rtc.h index 00606d4017..5fd07294b6 100644 --- a/src/include/pc80/mc146818rtc.h +++ b/src/include/pc80/mc146818rtc.h @@ -215,16 +215,9 @@ void cmos_post_log(void); static inline void cmos_post_log(void) {} #endif /* CONFIG_CMOS_POST */ -#if CONFIG(USE_OPTION_TABLE) -void sanitize_cmos(void); -#else -static inline void sanitize_cmos(void) {} -#endif /* CONFIG_USE_OPTION_TABLE */ - -#else /* !CONFIG_ARCH_X86 */ -static inline void sanitize_cmos(void) {} #endif /* CONFIG_ARCH_X86 */ +void sanitize_cmos(void); void cmos_post_init(void); #endif /* PC80_MC146818RTC_H */ -- cgit v1.2.3