From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:56910) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SPdyN-0005Cn-01 for qemu-devel@nongnu.org; Wed, 02 May 2012 14:08:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SPdyI-0000d2-7u for qemu-devel@nongnu.org; Wed, 02 May 2012 14:08:18 -0400 Received: from mx1.redhat.com ([209.132.183.28]:37592) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SPdyH-0000cW-WC for qemu-devel@nongnu.org; Wed, 02 May 2012 14:08:14 -0400 From: Kevin Wolf Date: Wed, 2 May 2012 19:16:14 +0200 Message-Id: <1335978978-4940-6-git-send-email-kwolf@redhat.com> In-Reply-To: <1335978978-4940-1-git-send-email-kwolf@redhat.com> References: <1335978978-4940-1-git-send-email-kwolf@redhat.com> Subject: [Qemu-devel] [PATCH 5/9] qcow2: Remove unused parameter in do_alloc_cluster_offset List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: anthony@codemonkey.ws Cc: kwolf@redhat.com, qemu-devel@nongnu.org Signed-off-by: Kevin Wolf --- block/qcow2-cluster.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/block/qcow2-cluster.c b/block/qcow2-cluster.c index a747a88..7edc043 100644 --- a/block/qcow2-cluster.c +++ b/block/qcow2-cluster.c @@ -759,7 +759,7 @@ out: * restarted, but the whole request should not be failed. */ static int do_alloc_cluster_offset(BlockDriverState *bs, uint64_t guest_offset, - uint64_t *host_offset, unsigned int *nb_clusters, uint64_t *l2_table) + uint64_t *host_offset, unsigned int *nb_clusters) { BDRVQcowState *s = bs->opaque; int64_t cluster_offset; @@ -919,7 +919,7 @@ again: /* Allocate, if necessary at a given offset in the image file */ ret = do_alloc_cluster_offset(bs, alloc_offset, &alloc_cluster_offset, - &nb_clusters, l2_table); + &nb_clusters); if (ret == -EAGAIN) { goto again; } else if (ret < 0) { -- 1.7.6.5