linux-pci.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] m68k/pci: Drop useless pcibios_setup()
@ 2023-07-18 20:42 Bjorn Helgaas
  2023-07-19  4:37 ` Greg Ungerer
  0 siblings, 1 reply; 2+ messages in thread
From: Bjorn Helgaas @ 2023-07-18 20:42 UTC (permalink / raw)
  To: Geert Uytterhoeven; +Cc: linux-m68k, linux-pci, linux-kernel, Bjorn Helgaas

From: Bjorn Helgaas <bhelgaas@google.com>

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

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
---
 arch/m68k/kernel/pcibios.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/arch/m68k/kernel/pcibios.c b/arch/m68k/kernel/pcibios.c
index b0e110d3d2e6..9504eb19d73a 100644
--- a/arch/m68k/kernel/pcibios.c
+++ b/arch/m68k/kernel/pcibios.c
@@ -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;
-}
-
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-07-19  4:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-18 20:42 [PATCH] m68k/pci: Drop useless pcibios_setup() Bjorn Helgaas
2023-07-19  4:37 ` Greg Ungerer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).