[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 01/12] qcow2: remove a line of unnecessary code
From: |
Kevin Wolf |
Subject: |
[Qemu-devel] [PATCH 01/12] qcow2: remove a line of unnecessary code |
Date: |
Mon, 4 Jun 2012 13:13:18 +0200 |
From: Zhi Yong Wu <address@hidden>
Commit 3948d1d4 removed the pointer argument we filled in with l2_offset
but forgot to remove the unnecessary l2_offset assignment.
Signed-off-by: Zhi Yong Wu <address@hidden>
Reviewed-by: Stefan Hajnoczi <address@hidden>
Signed-off-by: Kevin Wolf <address@hidden>
---
block/qcow2-cluster.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/block/qcow2-cluster.c b/block/qcow2-cluster.c
index 4b3345b..9aee9fc 100644
--- a/block/qcow2-cluster.c
+++ b/block/qcow2-cluster.c
@@ -538,7 +538,6 @@ static int get_cluster_table(BlockDriverState *bs, uint64_t
offset,
if (l2_offset) {
qcow2_free_clusters(bs, l2_offset, s->l2_size * sizeof(uint64_t));
}
- l2_offset = s->l1_table[l1_index] & L1E_OFFSET_MASK;
}
/* find the cluster offset for the given disk offset */
--
1.7.6.5
- [Qemu-devel] [PULL 00/12] Block patches, Kevin Wolf, 2012/06/04
- [Qemu-devel] [PATCH 01/12] qcow2: remove a line of unnecessary code,
Kevin Wolf <=
- [Qemu-devel] [PATCH 02/12] qcow2: fix the byte endian convertion, Kevin Wolf, 2012/06/04
- [Qemu-devel] [PATCH 06/12] stream: move rate limiting to a separate header file, Kevin Wolf, 2012/06/04
- [Qemu-devel] [PATCH 05/12] stream: move is_allocated_above to block.c, Kevin Wolf, 2012/06/04
- [Qemu-devel] [PATCH 10/12] qcow2: Support for fixing refcount inconsistencies, Kevin Wolf, 2012/06/04
- [Qemu-devel] [PATCH 08/12] qemu-img check -r for repairing images, Kevin Wolf, 2012/06/04
- [Qemu-devel] [PATCH 09/12] qemu-img check: Print fixed clusters and recheck, Kevin Wolf, 2012/06/04