summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/xmon/start.c
diff options
context:
space:
mode:
authorMichael Ellerman <michael@ellerman.id.au>2012-10-09 04:20:29 +0000
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2012-11-15 12:59:37 +1100
commiteb1c2abb611b51a935cdb36bbc0e364958ccb83c (patch)
tree91e00bce431972be7fcf08e1715ef6d893c7866c /arch/powerpc/xmon/start.c
parent6432200aa8de3242d64c02e0bf29305147df0171 (diff)
powerpc/xmon: Remove unused xmon_expect() & xmon_read_poll()
It looks like xmon_expect() was used for doing xmon over a modem (!?), that code was dropped in 2005 in commit 51d3082 "Unify udbg (#2)". Once xmon_expect() is gone xmon_read_poll() is unused, drop it too. Signed-off-by: Michael Ellerman <michael@ellerman.id.au> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/xmon/start.c')
-rw-r--r--arch/powerpc/xmon/start.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/powerpc/xmon/start.c b/arch/powerpc/xmon/start.c
index 8864de2af38..84f3a155eb4 100644
--- a/arch/powerpc/xmon/start.c
+++ b/arch/powerpc/xmon/start.c
@@ -25,10 +25,3 @@ int xmon_readchar(void)
return udbg_getc();
return -1;
}
-
-int xmon_read_poll(void)
-{
- if (udbg_getc_poll)
- return udbg_getc_poll();
- return -1;
-}