linux-mips
[Top] [All Lists]

[PATCH 3/5] rb532: remove unused rc32434_sync_delay and rc32434_sync_ude

To: "linux-mips" <linux-mips@linux-mips.org>
Subject: [PATCH 3/5] rb532: remove unused rc32434_sync_delay and rc32434_sync_udelay
From: Florian Fainelli <florian@openwrt.org>
Date: Sat, 23 Aug 2008 18:54:04 +0200
Cc: ralf@linux-mips.org
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
This patch removes these two unused functions :
rc32434_sync_delay and rc32434_sync_udelay

Signed-off-by: Florian Fainelli <florian@openwrt.org>
---
diff --git a/include/asm-mips/mach-rc32434/rc32434.h 
b/include/asm-mips/mach-rc32434/rc32434.h
index 9df04b7..fce25d4 100644
--- a/include/asm-mips/mach-rc32434/rc32434.h
+++ b/include/asm-mips/mach-rc32434/rc32434.h
@@ -16,16 +16,4 @@ static inline void rc32434_sync(void)
        __asm__ volatile ("sync");
 }
 
-static inline void rc32434_sync_udelay(int us)
-{
-       __asm__ volatile ("sync");
-       udelay(us);
-}
-
-static inline void rc32434_sync_delay(int ms)
-{
-       __asm__ volatile ("sync");
-       mdelay(ms);
-}
-
 #endif  /* _ASM_RC32434_RC32434_H_ */

<Prev in Thread] Current Thread [Next in Thread>
  • [PATCH 3/5] rb532: remove unused rc32434_sync_delay and rc32434_sync_udelay, Florian Fainelli <=