Skip to contentSkip to conversation

m68k/pci: Drop useless pcibios_setup()

PATCH In review Bjorn Helgaas 2 participants 2 messages Jul 18, 2023 – Jul 19, 2023

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 m68k/pci: Drop useless pcibios_setup()

From: Bjorn Helgaas <[email protected]>

The PCI core supplies a weak pcibios_setup() implementation that is identical to the m68k implementation. Remove the m68k version since it is unnecessary.

---
 arch/m68k/kernel/pcibios.c | 6 ------
 1 file changed, 6 deletions(-)
arch/m68k/kernel/pcibios.c +0 -6
index b0e110d3d2e6..9504eb19d73a 100644
@@ -92,9 +92,3 @@ void pcibios_fixup_bus(struct pci_bus *bus)
 		pci_write_config_byte(dev, PCI_LATENCY_TIMER, 32);
 	}
 }
-
-char *pcibios_setup(char *str)
-{
-	return str;
-}
-
Signature · 1 line
2.34.1
#1 lore raw

Hi Bjorn,

Quoted 7 lines · Bjorn Helgaas

From: Bjorn Helgaas <[email protected]>

The PCI core supplies a weak pcibios_setup() implementation that is identical to the m68k implementation. Remove the m68k version since it is unnecessary.

Thanks. Seeing as this is related to the ColdFire parts I'll take this through the m68knommu git tree. Applied to the for-next branch.

Regards
Greg

Quoted 18 lines
---
  arch/m68k/kernel/pcibios.c | 6 ------
  1 file changed, 6 deletions(-)
arch/m68k/kernel/pcibios.c +0 -6
index b0e110d3d2e6..9504eb19d73a 100644
@@ -92,9 +92,3 @@ void pcibios_fixup_bus(struct pci_bus *bus)
  		pci_write_config_byte(dev, PCI_LATENCY_TIMER, 32);
  	}
  }
-
-char *pcibios_setup(char *str)
-{
-	return str;
-}
-