diff mbox series

m68k/pci: Drop useless pcibios_setup()

Message ID 20230718204229.493669-1-helgaas@kernel.org
State New
Headers show
Series m68k/pci: Drop useless pcibios_setup() | expand

Commit Message

Bjorn Helgaas July 18, 2023, 8:42 p.m. UTC
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(-)

Comments

Greg Ungerer July 19, 2023, 4:37 a.m. UTC | #1
Hi Bjorn,

On 19/7/23 06:42, Bjorn Helgaas wrote:
> 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>

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


> ---
>   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;
> -}
> -
diff mbox series

Patch

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;
-}
-