Skip to content

Commit

Permalink
powerpc/xmon: Remove empty xmon_map_scc()
Browse files Browse the repository at this point in the history
This has been empty since 2005, commit 51d3082 "Unify udbg (#2)".

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
  • Loading branch information
Michael Ellerman authored and Benjamin Herrenschmidt committed Nov 15, 2012
1 parent eb1c2ab commit 08702c7
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 6 deletions.
1 change: 0 additions & 1 deletion arch/powerpc/xmon/nonstdio.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,5 @@ extern int xmon_getchar(void);
extern void xmon_puts(const char *);
extern char *xmon_gets(char *, int);
extern void xmon_printf(const char *, ...);
extern void xmon_map_scc(void);
extern int xmon_write(const void *ptr, int nb);
extern int xmon_readchar(void);
4 changes: 0 additions & 4 deletions arch/powerpc/xmon/start.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,6 @@
#include <asm/udbg.h>
#include "nonstdio.h"

void xmon_map_scc(void)
{
}

int xmon_write(const void *ptr, int nb)
{
return udbg_write(ptr, nb);
Expand Down
1 change: 0 additions & 1 deletion arch/powerpc/xmon/xmon.c
Original file line number Diff line number Diff line change
Expand Up @@ -2943,7 +2943,6 @@ static void xmon_init(int enable)
__debugger_dabr_match = NULL;
__debugger_fault_handler = NULL;
}
xmon_map_scc();
}

#ifdef CONFIG_MAGIC_SYSRQ
Expand Down

0 comments on commit 08702c7

Please sign in to comment.