spapr_pci: Drop cannot_instantiate_with_device_add_yet=false
PATCH 1/1 spapr_pci: Drop cannot_instantiate_with_device_add_yet=false
It's become redundant since it was added in commit 09aa9a5 "spapr-pci:
enable adding PHB via -device".
Cc Alexey Kardashevskiy <[email protected]>
Signed-off-by Markus Armbruster <[email protected]>
--- hw/ppc/spapr_pci.c | 1 - 1 file changed, 1 deletion(-)
hw/ppc/spapr_pci.c +0 -1
@@ -1624,7 +1624,6 @@ static void spapr_phb_class_init(ObjectClass *klass, void *data) dc->reset = spapr_phb_reset; dc->vmsd = &vmstate_spapr_pci;set_bit (DEVICE_CATEGORY_BRIDGE , dc->categories); - dc->cannot_instantiate_with_device_add_yet = false; hp->plug = spapr_phb_hot_plug_child; hp->unplug = spapr_phb_hot_unplug_child; }
Signature · 1 line
2.5.5
Quoted 5 lines · Markus Armbruster
It's become redundant since it was added in commit 09aa9a5 "spapr-pci:
enable adding PHB via -device".Cc Alexey Kardashevskiy <[email protected]>Signed-off-by Markus Armbruster <[email protected]>
Reviewed-by Alexey Kardashevskiy <[email protected]>
Quoted 17 lines
--- hw/ppc/spapr_pci.c | 1 - 1 file changed, 1 deletion(-)hw/ppc/spapr_pci.c +0
-1@@ -1624,7 +1624,6 @@ static void spapr_phb_class_init(ObjectClass *klass, void *data) dc->reset = spapr_phb_reset; dc->vmsd = &vmstate_spapr_pci;set_bit (DEVICE_CATEGORY_BRIDGE , dc->categories); - dc->cannot_instantiate_with_device_add_yet = false; hp->plug = spapr_phb_hot_plug_child; hp->unplug = spapr_phb_hot_unplug_child; }
Signature · 1 line
Alexey
David Gibson
AppliedQuoted 11 lines · Alexey Kardashevskiy
Quoted 5 lines · Markus Armbruster
It's become redundant since it was added in commit 09aa9a5 "spapr-pci:
enable adding PHB via -device".Cc Alexey Kardashevskiy <[email protected]>Signed-off-by Markus Armbruster <[email protected]>Reviewed-by Alexey Kardashevskiy <[email protected]>
Applied to ppc-for-2.7, thanks.
Signature · 4 lines
David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson