KVM: x86: use list_for_each_entry*
authorGeliang Tang <geliangtang@163.com>
Fri, 1 Jan 2016 11:47:13 +0000 (19:47 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 23 Feb 2016 14:40:54 +0000 (15:40 +0100)
commit652fc08dae8e01574cd2497d9a76948e5c9d3920
tree4c00588138f889de0bd387135df20763f3790a5f
parente6e3b5a64e5f15ebd569118a9af16bd4165cbd1a
KVM: x86: use list_for_each_entry*

Use list_for_each_entry*() instead of list_for_each*() to simplify
the code.

Signed-off-by: Geliang Tang <geliangtang@163.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/assigned-dev.c