summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward O'Callaghan <eocallaghan@alterapraxis.com>2014-05-23 05:51:21 +1000
committerMarc Jones <marc.jones@se-eng.com>2014-05-22 22:49:17 +0200
commitf67395ee5b28f4d0a0694050089805d1b3395b63 (patch)
tree47011f252b0d40a7bd77e199619f80aec633f9e0
parent351aff85ee0c694e791ac7647ed9f49d7d9e6e99 (diff)
southbridge/amd/sb700/smbus.c: Unused func smbus_delay()
Spotted by Clang Change-Id: I0f04c380b5ada28fb900710facc293edd65ac177 Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com> Reviewed-on: http://review.coreboot.org/5815 Tested-by: build bot (Jenkins) Reviewed-by: Marc Jones <marc.jones@se-eng.com>
-rw-r--r--src/southbridge/amd/sb700/smbus.c6
1 files changed, 0 insertions, 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;