Edward O'Callaghan (eocallaghan@alterapraxis.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/5847
-gerrit
commit eed5803af6ce9908d08b2595767a0fe978ff3464 Author: Edward O'Callaghan eocallaghan@alterapraxis.com Date: Sun May 25 06:34:45 2014 +1000
southbridge/amd/agesa/hudson: Unused func smbus_delay()
Spotted by Clang
Change-Id: Ic5b04f6f334bc9b1b014a7ada44e9656f7992063 Signed-off-by: Edward O'Callaghan eocallaghan@alterapraxis.com --- src/southbridge/amd/agesa/hudson/smbus.c | 5 ----- 1 file changed, 5 deletions(-)
diff --git a/src/southbridge/amd/agesa/hudson/smbus.c b/src/southbridge/amd/agesa/hudson/smbus.c index e428d43..0c04158 100644 --- a/src/southbridge/amd/agesa/hudson/smbus.c +++ b/src/southbridge/amd/agesa/hudson/smbus.c @@ -24,11 +24,6 @@ #include <stdint.h> #include "smbus.h"
-static inline void smbus_delay(void) -{ - outb(inb(0x80), 0x80); -} - static int smbus_wait_until_ready(u32 smbus_io_base) { u32 loops;