From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47414) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YNiWq-0005BY-1G for qemu-devel@nongnu.org; Tue, 17 Feb 2015 08:49:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YNiWm-0008IF-Nd for qemu-devel@nongnu.org; Tue, 17 Feb 2015 08:49:31 -0500 Received: from mx1.redhat.com ([209.132.183.28]:46659) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YNiWm-0008I7-Fn for qemu-devel@nongnu.org; Tue, 17 Feb 2015 08:49:28 -0500 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id t1HDnROE026912 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Tue, 17 Feb 2015 08:49:27 -0500 From: Kevin Wolf Date: Tue, 17 Feb 2015 14:49:25 +0100 Message-Id: <1424180965-32695-1-git-send-email-kwolf@redhat.com> Subject: [Qemu-devel] [PATCH] qcow2: Remove unused struct QCowCreateState List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: kwolf@redhat.com, stefanha@redhat.com 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 --- block/qcow2.h | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/block/qcow2.h b/block/qcow2.h index 17c9a3f..a9108f5 100644 --- a/block/qcow2.h +++ b/block/qcow2.h @@ -277,17 +277,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 { -- 1.8.3.1