From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51533) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YtIcC-00027n-6t for qemu-devel@nongnu.org; Fri, 15 May 2015 12:37:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YtIcB-00015z-6L for qemu-devel@nongnu.org; Fri, 15 May 2015 12:37:36 -0400 Received: from mail-wi0-x234.google.com ([2a00:1450:400c:c05::234]:34118) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YtIcA-00015s-Vj for qemu-devel@nongnu.org; Fri, 15 May 2015 12:37:35 -0400 Received: by wicmc15 with SMTP id mc15so42714040wic.1 for ; Fri, 15 May 2015 09:37:34 -0700 (PDT) Sender: Paolo Bonzini From: Paolo Bonzini Date: Fri, 15 May 2015 18:36:58 +0200 Message-Id: <1431707823-51230-3-git-send-email-pbonzini@redhat.com> In-Reply-To: <1431707823-51230-1-git-send-email-pbonzini@redhat.com> References: <1431707823-51230-1-git-send-email-pbonzini@redhat.com> Subject: [Qemu-devel] [PATCH 2/7] kvm-all: remove useless typedef List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: peter.maydell@linaro.org, lersek@redhat.com, avi.kivity@gmail.com, kraxel@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 6e1a3f8..8205ea1 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; @@ -425,7 +423,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; -- 1.8.3.1