kvm-all: remove useless typedef

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
Paolo Bonzini 2015-06-18 18:28:44 +02:00
parent d6ff5cbc12
commit 714f78c587
1 changed files with 1 additions and 3 deletions

View File

@ -69,8 +69,6 @@ typedef struct KVMSlot
int flags; int flags;
} KVMSlot; } KVMSlot;
typedef struct kvm_dirty_log KVMDirtyLog;
struct KVMState struct KVMState
{ {
AccelState parent_obj; AccelState parent_obj;
@ -393,7 +391,7 @@ static int kvm_physical_sync_dirty_bitmap(MemoryRegionSection *section)
{ {
KVMState *s = kvm_state; KVMState *s = kvm_state;
unsigned long size, allocated_size = 0; unsigned long size, allocated_size = 0;
KVMDirtyLog d = {}; struct kvm_dirty_log d = {};
KVMSlot *mem; KVMSlot *mem;
int ret = 0; int ret = 0;
hwaddr start_addr = section->offset_within_address_space; hwaddr start_addr = section->offset_within_address_space;