summaryrefslogtreecommitdiffstats
path: root/arch/mips
diff options
context:
space:
mode:
authorYoichi Yuasa <yuasa@linux-mips.org>2010-01-03 14:13:04 +0900
committerRalf Baechle <ralf@linux-mips.org>2010-01-12 18:19:36 +0100
commit70b5c8194f1ecfab5f7e8db3590e7ef7996d893e (patch)
treea97c249b88dc5b5302f3d3228aef6a1decf7cc8b /arch/mips
parent1dc238632bbb4283ba2c789b2aeadb1a2743eb4f (diff)
MIPS: AR7: Remove unused prom_getchar()
Signed-off-by: Yoichi Yuasa <yuasa@linux-mips.org> Cc: linux-mips@linux-mips.org Patchwork: http://patchwork.linux-mips.org/patch/811/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips')
-rw-r--r--arch/mips/ar7/prom.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/mips/ar7/prom.c b/arch/mips/ar7/prom.c
index 453dd22ad41..c1fdd368281 100644
--- a/arch/mips/ar7/prom.c
+++ b/arch/mips/ar7/prom.c
@@ -272,13 +272,6 @@ static inline void serial_out(int offset, int value)
writel(value, (void *)PORT(offset));
}
-char prom_getchar(void)
-{
- while (!(serial_in(UART_LSR) & UART_LSR_DR))
- ;
- return serial_in(UART_RX);
-}
-
int prom_putchar(char c)
{
while ((serial_in(UART_LSR) & UART_LSR_TEMT) == 0)