diff options
author | 2015-07-02 16:23:23 +1000 | |
---|---|---|
committer | 2015-07-07 17:44:53 +0200 | |
commit | e634b89c6ed2309814de7a89bd7c5ced96f59291 (patch) | |
tree | 823725f0f19c32d5ef3bacef55c30c9ba6e5259b /qga/commands-posix.c | |
parent | spapr_pci: populate ibm,loc-code (diff) | |
download | qemu-e634b89c6ed2309814de7a89bd7c5ced96f59291.tar.xz qemu-e634b89c6ed2309814de7a89bd7c5ced96f59291.zip |
spapr_pci: drop redundant args in spapr_[populate, create]_pci_child_dt
* phb_index is not being used and if required can be obtained from sphb
* use helper to get drc_index in spapr_populate_pci_child_dt()
* Check if drc_index is zero
Suggested-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: Nikunj A Dadhania <nikunj@linux.vnet.ibm.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'qga/commands-posix.c')
0 files changed, 0 insertions, 0 deletions