diff mbox

powerpc: Remove redundant breaks

Message ID 1435613439.9587.56.camel@perches.com (mailing list archive)
State Accepted
Delegated to: Michael Ellerman
Headers show

Commit Message

Joe Perches June 29, 2015, 9:30 p.m. UTC
break; break; isn't useful.

Remove one.

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

Comments

Michael Ellerman Aug. 10, 2015, 9:27 a.m. UTC | #1
On Mon, 2015-29-06 at 21:30:39 UTC, Joe Perches wrote:
> break; break; isn't useful.
> 
> Remove one.
> 
> Signed-off-by: Joe Perches <joe@perches.com>

Applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/a825ac078b50266fb091

cheers
diff mbox

Patch

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;