linux-mips
[Top] [All Lists]

[PATCH] MIPS: ar7 remove unused prom_getchar()

To: Ralf Baechle <ralf@linux-mips.org>
Subject: [PATCH] MIPS: ar7 remove unused prom_getchar()
From: Yoichi Yuasa <yuasa@linux-mips.org>
Date: Sun, 3 Jan 2010 14:13:04 +0900
Cc: yuasa@linux-mips.org, linux-mips <linux-mips@linux-mips.org>
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:date:from:to:cc :subject:message-id:x-mailer:mime-version:content-type :content-transfer-encoding; bh=e9DsUOz2i8zq/RmlFVJYkf5EGNX8gZ2NJ3UF+62AKPY=; b=PGOZhuAZlocbvgI1zEoxs7xYDU8G8TMhOHtQV/FIWkKcxB7Yjo4XQAvi5aswUTVGZ6 aKzxWWj8WcdPbhW7x+u4FE7n8QRgWVacIvMdXcSmBxf6JJsf3WCy8H4ETdluy1G+zJ6x BIFS6oCMcog+sknrHon21VhvbGh9yTd6JcN/Y=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:date:from:to:cc:subject:message-id:x-mailer:mime-version :content-type:content-transfer-encoding; b=tTFMY6qvdWsxnz8t2oaw0sPv0o0cmTd/pTcutlYds0mLjdUj7r9pPBHiN+md227sAO NrH++hQM+th3+EHnoE0IIgE0BQEwKD5TYQEprhUWO4N3R5cMTj8oohsWsRIfpaZw333A wdYm5CkDqM11kLNoTt6xxyvoi39woXIzVa+tM=
Sender: linux-mips-bounce@linux-mips.org
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


<Prev in Thread] Current Thread [Next in Thread>