[coreboot-gerrit] New patch to review for coreboot: e46ffa2 mainboard/lenovo/x201: Unused func read_acpi16()

Edward O'Callaghan (eocallaghan@alterapraxis.com) gerrit at coreboot.org
Thu Jun 26 14:22:22 CEST 2014


Edward O'Callaghan (eocallaghan at alterapraxis.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/6125

-gerrit

commit e46ffa2642849ec930d833906c3558018c733e97
Author: Edward O'Callaghan <eocallaghan at alterapraxis.com>
Date:   Thu Jun 26 22:11:01 2014 +1000

    mainboard/lenovo/x201: Unused func read_acpi16()
    
    Spotted by Clang.
    
    Change-Id: Ie9307561602e8040ee917edf81b5aadc1c9cb549
    Signed-off-by: Edward O'Callaghan <eocallaghan at alterapraxis.com>
---
 src/mainboard/lenovo/x201/romstage.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/src/mainboard/lenovo/x201/romstage.c b/src/mainboard/lenovo/x201/romstage.c
index a18536a..561d64e 100644
--- a/src/mainboard/lenovo/x201/romstage.c
+++ b/src/mainboard/lenovo/x201/romstage.c
@@ -199,11 +199,6 @@ static inline u32 read_acpi32(u32 addr)
 	return inl(DEFAULT_PMBASE | addr);
 }
 
-static inline u16 read_acpi16(u32 addr)
-{
-	return inw(DEFAULT_PMBASE | addr);
-}
-
 static void set_fsb_frequency(void)
 {
 	u8 block[5];



More information about the coreboot-gerrit mailing list