Skip to contentSkip to conversation

virtfs-proxy-helper: Remove the superfluous break

PATCH Applied Yi Wang 2 participants 2 messages Jul 13, 2020

lore
Share & tools
lore

Yi Wang

author
#0 lore raw

PATCH 5/12 virtfs-proxy-helper: Remove the superfluous break

From: Liao Pingfang <[email protected]>

Remove the superfluous break, as there is a "return" before it.

---
 fsdev/virtfs-proxy-helper.c | 1 -
 1 file changed, 1 deletion(-)
fsdev/virtfs-proxy-helper.c +0 -1
index de061a8..e68acc1 100644
@@ -825,7 +825,6 @@ static int process_reply(int sock, int type,
         break;
     default:
         return -1;
-        break;
     }
     return 0;
 }
Signature · 1 line
2.9.5
#1 lore raw
Quoted 7 lines · Yi Wang

From: Liao Pingfang <[email protected]>

Remove the superfluous break, as there is a "return" before it.

Hmm I never reviewed this patch, only the openrisc one:
https://lists.gnu.org/archive/html/qemu-devel/2020-07/msg04078.html

Something is wrong in your workflow, you are posting each patch as a new thread. You might be missing the --cc-cover option, see:
https://wiki.qemu.org/Contribute/SubmitAPatch#Use_git_format-patch

Quoted 17 lines
---
 fsdev/virtfs-proxy-helper.c | 1 -
 1 file changed, 1 deletion(-)
fsdev/virtfs-proxy-helper.c +0 -1
index de061a8..e68acc1 100644
@@ -825,7 +825,6 @@ static int process_reply(int sock, int type,
         break;
     default:
         return -1;
-        break;
     }
     return 0;
 }