From: Bjorn Helgaas <bhelgaas@google.com>
Date: Tue, 18 Jul 2023 20:42:29 +0000 (-0500)
Subject: m68k/pci: Drop useless pcibios_setup()
X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=8ad50582210c2aa6777bf58252ade9af7ea554b5;p=linux.git

m68k/pci: Drop useless pcibios_setup()

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>
Signed-off-by: Greg Ungerer <gerg@linux-m68k.org>
---

diff --git a/arch/m68k/kernel/pcibios.c b/arch/m68k/kernel/pcibios.c
index b0e110d3d2e60..9504eb19d73a9 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;
-}
-