[PATCH 06/20] powerpc/xmon: Remove renaming #defines of scanhex() and skipbl()

Michael Ellerman michael at ellerman.id.au
Wed Oct 10 01:20:33 EST 2012

We have two #defines that rename scanhex() and skipbl() to
xmon_scanhex() and xmon_skipbl() - but no one ever uses those

So the only effect is to rename the actual symbols in the generated
code, and AFACIS there is no reason to do that, so drop them.

Signed-off-by: Michael Ellerman <michael at ellerman.id.au>
 arch/powerpc/xmon/xmon.c |    3 ---
 1 file changed, 3 deletions(-)

diff --git a/arch/powerpc/xmon/xmon.c b/arch/powerpc/xmon/xmon.c
index 67d36ab..cc96a71 100644
--- a/arch/powerpc/xmon/xmon.c
+++ b/arch/powerpc/xmon/xmon.c
@@ -52,9 +52,6 @@
 #include "nonstdio.h"
 #include "dis-asm.h"
-#define scanhex	xmon_scanhex
-#define skipbl	xmon_skipbl
 #ifdef CONFIG_SMP
 static cpumask_t cpus_in_xmon = CPU_MASK_NONE;
 static unsigned long xmon_taken = 1;

More information about the Linuxppc-dev mailing list