summaryrefslogtreecommitdiff
path: root/block/qcow2-cluster.c
diff options
context:
space:
mode:
authorFrediano Ziglio <freddy77@gmail.com>2011-09-07 16:19:17 +0200
committerKevin Wolf <kwolf@redhat.com>2011-09-12 15:17:17 +0200
commita7912369929f91aaf42a88b3a0a80f106a681bf4 (patch)
tree43b7e90abe93d77a059c5b4c11ab0dd2031f3334 /block/qcow2-cluster.c
parent44520db10b1b92f272348ab7028e7afc68ac3edf (diff)
downloadqemu-a7912369929f91aaf42a88b3a0a80f106a681bf4.tar.gz
qcow2: removed unused depends_on field
Signed-off-by: Frediano Ziglio <freddy77@gmail.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block/qcow2-cluster.c')
-rw-r--r--block/qcow2-cluster.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/block/qcow2-cluster.c b/block/qcow2-cluster.c
index e06be64876..113db8b414 100644
--- a/block/qcow2-cluster.c
+++ b/block/qcow2-cluster.c
@@ -694,7 +694,7 @@ err:
* If the offset is not found, allocate a new cluster.
*
* If the cluster was already allocated, m->nb_clusters is set to 0,
- * m->depends_on is set to NULL and the other fields in m are meaningless.
+ * other fields in m are meaningless.
*
* If the cluster is newly allocated, m->nb_clusters is set to the number of
* contiguous clusters that have been allocated. In this case, the other
@@ -736,7 +736,6 @@ again:
cluster_offset &= ~QCOW_OFLAG_COPIED;
m->nb_clusters = 0;
- m->depends_on = NULL;
goto out;
}