Commit 7ce14a31 authored by Milton Miller's avatar Milton Miller Committed by Benjamin Herrenschmidt

powerpc/pseries: Remove write only variable in PCI DLPAR

Since we never hotplug add an isa bus, we never need to set primary.
Delete this write-only variable.
Signed-off-by: default avatarMilton Miller <miltonm@bga.com>
Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
parent 8b16cd23
...@@ -137,11 +137,9 @@ EXPORT_SYMBOL_GPL(pcibios_add_pci_devices); ...@@ -137,11 +137,9 @@ EXPORT_SYMBOL_GPL(pcibios_add_pci_devices);
struct pci_controller * __devinit init_phb_dynamic(struct device_node *dn) struct pci_controller * __devinit init_phb_dynamic(struct device_node *dn)
{ {
struct pci_controller *phb; struct pci_controller *phb;
int primary;
pr_debug("PCI: Initializing new hotplug PHB %s\n", dn->full_name); pr_debug("PCI: Initializing new hotplug PHB %s\n", dn->full_name);
primary = list_empty(&hose_list);
phb = pcibios_alloc_controller(dn); phb = pcibios_alloc_controller(dn);
if (!phb) if (!phb)
return NULL; return NULL;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment