提交 714f78c5 编写于 作者: P Paolo Bonzini

kvm-all: remove useless typedef

Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
上级 d6ff5cbc
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册