Skip to content

Commit

Permalink
mips/PCI: removed unused pci_probe configurability
Browse files Browse the repository at this point in the history
We never assign anything other than PCI_ASSIGN_ALL_BUSSES to pci_probe,
so just remove the indirection.  If configurability is required in the
future, please use the pci_flags/PCI_REASSIGN_ALL_BUS functionality
as is done for powerpc.

CC: Ralf Baechle <ralf@linux-mips.org>
CC: linux-mips@linux-mips.org
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
  • Loading branch information
Bjorn Helgaas committed Feb 24, 2012
1 parent 2909060 commit 14be538
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions arch/mips/pci/pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,6 @@
* assignments.
*/

#define PCI_ASSIGN_ALL_BUSSES 1

unsigned int pci_probe = PCI_ASSIGN_ALL_BUSSES;

/*
* The PCI controller list.
*/
Expand Down Expand Up @@ -238,7 +234,7 @@ static int pcibios_enable_resources(struct pci_dev *dev, int mask)

unsigned int pcibios_assign_all_busses(void)
{
return (pci_probe & PCI_ASSIGN_ALL_BUSSES) ? 1 : 0;
return 1;
}

int pcibios_enable_device(struct pci_dev *dev, int mask)
Expand Down

0 comments on commit 14be538

Please sign in to comment.