Skip to contentSkip to conversation

target/arm/kvm: Remove superfluous break

PATCH Applied Yi Wang 3 participants 3 messages Jul 13, 2020 – Sep 1, 2020

lore
Share & tools
lore

Yi Wang

author
#0 lore raw

PATCH 1/12 target/arm/kvm: Remove superfluous break

From: Liao Pingfang <[email protected]>

Remove superfluous break.

---
 target/arm/kvm64.c | 1 -
 1 file changed, 1 deletion(-)
target/arm/kvm64.c +0 -1
index 1169237..ef1e960 100644
@@ -330,7 +330,6 @@ int kvm_arch_remove_hw_breakpoint(target_ulong addr,
     switch (type) {
     case GDB_BREAKPOINT_HW:
         return delete_hw_breakpoint(addr);
-        break;
     case GDB_WATCHPOINT_READ:
     case GDB_WATCHPOINT_WRITE:
     case GDB_WATCHPOINT_ACCESS:
Signature · 1 line
2.9.5
Reviewed-by on v1 1/12
#1 lore raw
Quoted 17 lines · Yi Wang

From: Liao Pingfang <[email protected]>

Remove superfluous break.

---
 target/arm/kvm64.c | 1 -
 1 file changed, 1 deletion(-)
target/arm/kvm64.c +0 -0
index 1169237..ef1e960 100644

target/arm/kvm64.c int kvm_arch_remove_hw_breakpoint(target_ulong addr, · line 335

Quoted 7 lines
target/arm/kvm64.c +0 -1
@@ -330,7 +330,6 @@ int kvm_arch_remove_hw_breakpoint(target_ulong addr,
     switch (type) {
     case GDB_BREAKPOINT_HW:
         return delete_hw_breakpoint(addr);
-        break;
     case GDB_WATCHPOINT_READ:
     case GDB_WATCHPOINT_WRITE:
     case GDB_WATCHPOINT_ACCESS:
#2 lore raw

Le 13/07/2020 à 11:30, Thomas Huth a écrit :

Quoted 12 lines · Yi Wang
Quoted 11 lines

From: Liao Pingfang <[email protected]>

Remove superfluous break.

---
 target/arm/kvm64.c | 1 -
 1 file changed, 1 deletion(-)
Quoted 17 lines

target/arm/kvm64.c int kvm_arch_remove_hw_breakpoint(target_ulong addr, · line 335

Quoted 13 lines
target/arm/kvm64.c +0 -1
index 1169237..ef1e960 100644
@@ -330,7 +330,6 @@ int kvm_arch_remove_hw_breakpoint(target_ulong addr,
     switch (type) {
     case GDB_BREAKPOINT_HW:
         return delete_hw_breakpoint(addr);
-        break;
     case GDB_WATCHPOINT_READ:
     case GDB_WATCHPOINT_WRITE:
     case GDB_WATCHPOINT_ACCESS:

Applied to my trivial-patches branch.

Thanks,
Laurent