From 8df2f8095e11aa4995906856bf3d9396890c6dd5 Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Mon, 29 May 2023 22:01:41 +0100 Subject: util/e6400-flash-unlock: clean up commented code Signed-off-by: Leah Rowe --- util/e6400-flash-unlock/e6400_flash_unlock.c | 9 --------- 1 file changed, 9 deletions(-) (limited to 'util/e6400-flash-unlock') diff --git a/util/e6400-flash-unlock/e6400_flash_unlock.c b/util/e6400-flash-unlock/e6400_flash_unlock.c index 9302d099..9488a67e 100644 --- a/util/e6400-flash-unlock/e6400_flash_unlock.c +++ b/util/e6400-flash-unlock/e6400_flash_unlock.c @@ -44,7 +44,6 @@ void send_ec_cmd(uint8_t cmd); void wait_ec(void); int get_gbl_smi_en(void); int set_gbl_smi_en(int enable); -/* uint8_t read_ec_reg(uint8_t index); */ #define EC_INDEX 0x910 #define EC_DATA 0x911 @@ -157,11 +156,3 @@ set_gbl_smi_en(int enable) return (get_gbl_smi_en() == enable); } -/* -uint8_t -read_ec_reg(uint8_t index) -{ - outb(index, EC_INDEX); - return inb(EC_DATA); -} -*/ -- cgit v1.2.1