pci_register_bar: cleanup
commit5178ecd86367090a59af0e15e67cee6f673aaa08
authorCao jin <caoj.fnst@cn.fujitsu.com>
Fri, 25 Mar 2016 06:49:37 +0000 (25 14:49 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 4 Jul 2016 13:49:33 +0000 (4 16:49 +0300)
treefc1b4401e5554bb2310e0f2d1f3a9dfbf5793981
parent6c6668232e71b7cf7ff39fa1a7abf660c40f9cea
pci_register_bar: cleanup

place relevant code tegother, make the code easier to read

Signed-off-by: Cao jin <caoj.fnst@cn.fujitsu.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
hw/pci/pci.c