linux-mips.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] MIPS: ar7 remove unused prom_getchar()
@ 2010-01-03  5:13 Yoichi Yuasa
  2010-01-11 10:03 ` Ralf Baechle
  0 siblings, 1 reply; 2+ messages in thread
From: Yoichi Yuasa @ 2010-01-03  5:13 UTC (permalink / raw)
  To: Ralf Baechle; +Cc: yuasa, linux-mips

Signed-off-by: Yoichi Yuasa <yuasa@linux-mips.org>
---
 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 453dd22..c1fdd36 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)
-- 
1.6.5.7

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] MIPS: ar7 remove unused prom_getchar()
  2010-01-03  5:13 [PATCH] MIPS: ar7 remove unused prom_getchar() Yoichi Yuasa
@ 2010-01-11 10:03 ` Ralf Baechle
  0 siblings, 0 replies; 2+ messages in thread
From: Ralf Baechle @ 2010-01-11 10:03 UTC (permalink / raw)
  To: Yoichi Yuasa; +Cc: linux-mips

On Sun, Jan 03, 2010 at 02:13:04PM +0900, Yoichi Yuasa wrote:

Thanks, applied!

  Ralf

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-01-11 10:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-03  5:13 [PATCH] MIPS: ar7 remove unused prom_getchar() Yoichi Yuasa
2010-01-11 10:03 ` Ralf Baechle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).