From f67395ee5b28f4d0a0694050089805d1b3395b63 Mon Sep 17 00:00:00 2001 From: Edward O'Callaghan Date: Fri, 23 May 2014 05:51:21 +1000 Subject: [PATCH] southbridge/amd/sb700/smbus.c: Unused func smbus_delay() Spotted by Clang Change-Id: I0f04c380b5ada28fb900710facc293edd65ac177 Signed-off-by: Edward O'Callaghan Reviewed-on: http://review.coreboot.org/5815 Tested-by: build bot (Jenkins) Reviewed-by: Marc Jones --- src/southbridge/amd/sb700/smbus.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/southbridge/amd/sb700/smbus.c b/src/southbridge/amd/sb700/smbus.c index 5b225029e3..46dad41c0a 100644 --- a/src/southbridge/amd/sb700/smbus.c +++ b/src/southbridge/amd/sb700/smbus.c @@ -66,12 +66,6 @@ void alink_ax_indx(u32 space, u32 axindc, u32 mask, u32 val) outl(tmp, AB_DATA); } - -static inline void smbus_delay(void) -{ - outb(inb(0x80), 0x80); -} - static int smbus_wait_until_ready(u32 smbus_io_base) { u32 loops;