diff options
author | Yoichi Yuasa <yuasa@linux-mips.org> | 2010-01-03 14:13:04 +0900 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2010-01-12 18:19:36 +0100 |
commit | 70b5c8194f1ecfab5f7e8db3590e7ef7996d893e (patch) | |
tree | a97c249b88dc5b5302f3d3228aef6a1decf7cc8b /arch/mips/ar7 | |
parent | 1dc238632bbb4283ba2c789b2aeadb1a2743eb4f (diff) | |
download | linux-stable-70b5c8194f1ecfab5f7e8db3590e7ef7996d893e.tar.gz linux-stable-70b5c8194f1ecfab5f7e8db3590e7ef7996d893e.tar.bz2 linux-stable-70b5c8194f1ecfab5f7e8db3590e7ef7996d893e.zip |
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/ar7')
-rw-r--r-- | arch/mips/ar7/prom.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/mips/ar7/prom.c b/arch/mips/ar7/prom.c index 453dd22ad416..c1fdd3682812 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) |