MIPS: AR7: Remove unused prom_getchar()
authorYoichi Yuasa <yuasa@linux-mips.org>
Sun, 3 Jan 2010 05:13:04 +0000 (14:13 +0900)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 12 Jan 2010 17:19:36 +0000 (18:19 +0100)
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>
arch/mips/ar7/prom.c

index 453dd22ad416e493d1357b16ff9ece36964d408e..c1fdd368281292618fa568793b0eceaf7d5b8937 100644 (file)
@@ -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)