[PATCH] powerpc: Remove redundant breaks

Joe Perches joe at perches.com
Tue Jun 30 07:30:39 AEST 2015


break; break; isn't useful.

Remove one.

Signed-off-by: Joe Perches <joe at perches.com>
---
 arch/powerpc/kernel/kvm.c | 1 -
 arch/powerpc/xmon/xmon.c  | 1 -
 2 files changed, 2 deletions(-)

diff --git a/arch/powerpc/kernel/kvm.c b/arch/powerpc/kernel/kvm.c
index 33aa4dd..9ad37f8 100644
--- a/arch/powerpc/kernel/kvm.c
+++ b/arch/powerpc/kernel/kvm.c
@@ -649,7 +649,6 @@ static void kvm_check_ins(u32 *inst, u32 features)
 			kvm_patch_ins_mtsrin(inst, inst_rt, inst_rb);
 		}
 		break;
-		break;
 #endif
 	}
 
diff --git a/arch/powerpc/xmon/xmon.c b/arch/powerpc/xmon/xmon.c
index e599259..7a39f6c 100644
--- a/arch/powerpc/xmon/xmon.c
+++ b/arch/powerpc/xmon/xmon.c
@@ -1987,7 +1987,6 @@ memex(void)
 			case '^':
 				adrs -= size;
 				break;
-				break;
 			case '/':
 				if (nslash > 0)
 					adrs -= 1 << nslash;




More information about the Linuxppc-dev mailing list