Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 70b5c819 authored by Yoichi Yuasa's avatar Yoichi Yuasa Committed by Ralf Baechle
Browse files

MIPS: AR7: Remove unused prom_getchar()



Signed-off-by: default avatarYoichi Yuasa <yuasa@linux-mips.org>
Cc: linux-mips@linux-mips.org
Patchwork: http://patchwork.linux-mips.org/patch/811/


Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 1dc23863
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -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)