diff --git a/src/mainboard/lenovo/x230/smihandler.c b/src/mainboard/lenovo/x230/smihandler.c index 7e518ab83a..f0ef637fb5 100644 --- a/src/mainboard/lenovo/x230/smihandler.c +++ b/src/mainboard/lenovo/x230/smihandler.c @@ -23,14 +23,8 @@ #include #include #include -#include #include -#include -#include #include -#include -#include -#include #define GPE_EC_SCI 1 #define GPE_EC_WAKE 13 @@ -51,14 +45,7 @@ int mainboard_io_trap_handler(int smif) smm_initialized = 1; } - switch (smif) { - default: - return 0; - } - - /* On success, the IO Trap Handler returns 1 - * On failure, the IO Trap Handler returns a value != 1 */ - return 1; + return 0; } static void mainboard_smi_handle_ec_sci(void)