diff mbox

[3/4] qcow2: Drop unreachable break

Message ID 20180702025836.20957-4-famz@redhat.com (mailing list archive)
State New, archived
Headers show

Commit Message

Fam Zheng July 2, 2018, 2:58 a.m. UTC
Reported-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Fam Zheng <famz@redhat.com>
---
 block/qcow2.c | 1 -
 1 file changed, 1 deletion(-)
diff mbox

Patch

diff --git a/block/qcow2.c b/block/qcow2.c
index 3177c72de0..1a2e498a3c 100644
--- a/block/qcow2.c
+++ b/block/qcow2.c
@@ -3292,7 +3292,6 @@  qcow2_co_copy_range_from(BlockDriverState *bs,
         case QCOW2_CLUSTER_COMPRESSED:
             ret = -ENOTSUP;
             goto out;
-            break;
 
         case QCOW2_CLUSTER_NORMAL:
             child = bs->file;