[PATCH 2/3] Removing conditionalizing containing exactly the samecode

From: Christoph Egger
Date: Thu Jul 29 2010 - 11:29:09 EST

Found this because there's no PPC64 in um, however both branches of
this ifdef contain the exactly same code (modulo comment).

Signed-off-by: Christoph Egger <siccegge@xxxxxxxxx>
arch/um/sys-ppc/shared/sysdep/ptrace.h | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)

diff --git a/arch/um/sys-ppc/shared/sysdep/ptrace.h b/arch/um/sys-ppc/shared/sysdep/ptrace.h
index 0e3230e..4ae9be9 100644
--- a/arch/um/sys-ppc/shared/sysdep/ptrace.h
+++ b/arch/um/sys-ppc/shared/sysdep/ptrace.h
@@ -9,11 +9,8 @@

/* the following taken from <asm-ppc/ptrace.h> */

-#ifdef CONFIG_PPC64
-#define PPC_REG unsigned long /*long*/
#define PPC_REG unsigned long
struct sys_pt_regs_s {
PPC_REG gpr[32];
PPC_REG nip;

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/