From: Yoichi Yuasa Date: Sun, 3 Jan 2010 05:13:04 +0000 (+0900) Subject: MIPS: AR7: Remove unused prom_getchar() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=70b5c8194f1ecfab5f7e8db3590e7ef7996d893e;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git MIPS: AR7: Remove unused prom_getchar() Signed-off-by: Yoichi Yuasa Cc: linux-mips@linux-mips.org Patchwork: http://patchwork.linux-mips.org/patch/811/ Signed-off-by: Ralf Baechle --- 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)