From dbed7865d34d407814bc59dae06e93be3a3fcf95 Mon Sep 17 00:00:00 2001 From: Peter Lemenkov Date: Tue, 22 Oct 2019 19:08:59 +0200 Subject: mb/*/*/smihandler: Remove bogus mainboard_io_trap_handler These mainboard_io_trap_handler functions do nothing compared to a weak mainboard_io_trap_handler in src/cpu/x86/smm/. Change-Id: I73ebcc6c3f604a075a946503d51881ccc6820dac Signed-off-by: Peter Lemenkov Reviewed-on: https://review.coreboot.org/c/coreboot/+/36245 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Rudolph --- src/mainboard/lenovo/s230u/smihandler.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/mainboard/lenovo/s230u') diff --git a/src/mainboard/lenovo/s230u/smihandler.c b/src/mainboard/lenovo/s230u/smihandler.c index 1abf0c88a7..668fe697dd 100644 --- a/src/mainboard/lenovo/s230u/smihandler.c +++ b/src/mainboard/lenovo/s230u/smihandler.c @@ -32,11 +32,6 @@ /* FIXME: check this */ #define GPE_EC_WAKE 13 -int mainboard_io_trap_handler(int smif) -{ - return 0; -} - enum sleep_states { S0 = 0, S1 = 1, -- cgit v1.2.3