From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40615) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YRPVZ-0004WT-By for qemu-devel@nongnu.org; Fri, 27 Feb 2015 13:19:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YRPVY-0001By-JI for qemu-devel@nongnu.org; Fri, 27 Feb 2015 13:19:29 -0500 Received: from mx1.redhat.com ([209.132.183.28]:42968) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YRPVY-0001Bi-6Q for qemu-devel@nongnu.org; Fri, 27 Feb 2015 13:19:28 -0500 From: Stefan Hajnoczi Date: Fri, 27 Feb 2015 18:18:06 +0000 Message-Id: <1425061147-1411-9-git-send-email-stefanha@redhat.com> In-Reply-To: <1425061147-1411-1-git-send-email-stefanha@redhat.com> References: <1425061147-1411-1-git-send-email-stefanha@redhat.com> Subject: [Qemu-devel] [PULL 08/69] qcow2: Remove unused struct QCowCreateState List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Kevin Wolf , Peter Maydell From: Kevin Wolf The only user went away five years ago with commit a9420734 ('qcow2: Simplify image creation'). It's about time to remove it. Signed-off-by: Kevin Wolf Reviewed-by: Max Reitz Reviewed-by: Stefan Hajnoczi --- block/qcow2.h | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/block/qcow2.h b/block/qcow2.h index 6e39a1b..0fee29b 100644 --- a/block/qcow2.h +++ b/block/qcow2.h @@ -275,17 +275,6 @@ typedef struct BDRVQcowState { bool cache_discards; } BDRVQcowState; -/* XXX: use std qcow open function ? */ -typedef struct QCowCreateState { - int cluster_size; - int cluster_bits; - uint16_t *refcount_block; - uint64_t *refcount_table; - int64_t l1_table_offset; - int64_t refcount_table_offset; - int64_t refcount_block_offset; -} QCowCreateState; - struct QCowAIOCB; typedef struct Qcow2COWRegion { -- 2.1.0