diff options
author | Liao Pingfang <liao.pingfang@zte.com.cn> | 2020-07-13 17:05:07 +0800 |
---|---|---|
committer | Laurent Vivier <laurent@vivier.eu> | 2020-09-01 08:37:28 +0200 |
commit | f181ab4ba5f4af1e2b1638ab7c70d8677b441245 (patch) | |
tree | a5648830e67c5da57526cfb1ac54d79b879fbcdb | |
parent | d560a06c608d2d32156fdacdb72aba2294bedec4 (diff) |
block/vmdk: Remove superfluous breaks
Remove superfluous breaks, as there is a "return" before them.
Signed-off-by: Liao Pingfang <liao.pingfang@zte.com.cn>
Signed-off-by: Yi Wang <wang.yi59@zte.com.cn>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <1594631107-36574-1-git-send-email-wang.yi59@zte.com.cn>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
-rw-r--r-- | block/vmdk.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/block/vmdk.c b/block/vmdk.c index bf9df5ce92..d90855446a 100644 --- a/block/vmdk.c +++ b/block/vmdk.c @@ -1053,14 +1053,11 @@ static int vmdk_open_sparse(BlockDriverState *bs, BdrvChild *file, int flags, switch (magic) { case VMDK3_MAGIC: return vmdk_open_vmfs_sparse(bs, file, flags, errp); - break; case VMDK4_MAGIC: return vmdk_open_vmdk4(bs, file, flags, options, errp); - break; default: error_setg(errp, "Image not in VMDK format"); return -EINVAL; - break; } } |