From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48139) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z0sf2-0006UB-LZ for qemu-devel@nongnu.org; Fri, 05 Jun 2015 10:31:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z0sex-0007kp-AL for qemu-devel@nongnu.org; Fri, 05 Jun 2015 10:31:52 -0400 Received: from mx1.redhat.com ([209.132.183.28]:40032) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z0sex-0007kd-47 for qemu-devel@nongnu.org; Fri, 05 Jun 2015 10:31:47 -0400 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) by mx1.redhat.com (Postfix) with ESMTPS id C4C70293317 for ; Fri, 5 Jun 2015 14:31:46 +0000 (UTC) From: Paolo Bonzini Date: Fri, 5 Jun 2015 16:31:25 +0200 Message-Id: <1433514693-19414-5-git-send-email-pbonzini@redhat.com> In-Reply-To: <1433514693-19414-1-git-send-email-pbonzini@redhat.com> References: <1433514693-19414-1-git-send-email-pbonzini@redhat.com> Subject: [Qemu-devel] [PATCH 04/12] kvm-all: remove useless typedef List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: lersek@redhat.com, kraxel@redhat.com, mst@redhat.com Signed-off-by: Paolo Bonzini --- kvm-all.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/kvm-all.c b/kvm-all.c index 20012c6..2e13aff 100644 --- a/kvm-all.c +++ b/kvm-all.c @@ -69,8 +69,6 @@ typedef struct KVMSlot int flags; } KVMSlot; -typedef struct kvm_dirty_log KVMDirtyLog; - struct KVMState { AccelState parent_obj; @@ -393,7 +391,7 @@ static int kvm_physical_sync_dirty_bitmap(MemoryRegionSection *section) { KVMState *s = kvm_state; unsigned long size, allocated_size = 0; - KVMDirtyLog d = {}; + struct kvm_dirty_log d = {}; KVMSlot *mem; int ret = 0; hwaddr start_addr = section->offset_within_address_space; -- 2.4.1