Skip to contentSkip to conversation

MIPS: lantiq: remove unused function declaration

PATCH Applied Aleksander Jan Bajkowski 2 participants 2 messages Mar 29, 2023 – Apr 5, 2023 MIPS

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 MIPS: lantiq: remove unused function declaration

The removed function declaration is a leftover of the old gphy firmware loader, that has been removed in d5103604f78e1afc29e586785af540c82b573f3a.

---
 arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h | 3 ---
 1 file changed, 3 deletions(-)
arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h +0 -3
index 4790cfa190d6..c2e0acb755cd 100644
@@ -94,9 +94,6 @@ extern __iomem void *ltq_cgu_membase;
 #define LTQ_MPS_BASE_ADDR	(KSEG1 + 0x1F107000)
 #define LTQ_MPS_CHIPID		((u32 *)(LTQ_MPS_BASE_ADDR + 0x0344))
 
-/* allow booting xrx200 phys */
-int xrx200_gphy_boot(struct device *dev, unsigned int id, dma_addr_t dev_addr);
-
 /* request a non-gpio and set the PIO config */
 #define PMU_PPE			 BIT(13)
 extern void ltq_pmu_enable(unsigned int module);
Signature · 1 line
2.30.2
maintainer Applied
#1 lore raw
Quoted 24 lines · Aleksander Jan Bajkowski

The removed function declaration is a leftover of the old gphy firmware loader, that has been removed in d5103604f78e1afc29e586785af540c82b573f3a.

---
 arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h | 3 ---
 1 file changed, 3 deletions(-)
arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h +0 -3
index 4790cfa190d6..c2e0acb755cd 100644
@@ -94,9 +94,6 @@ extern __iomem void *ltq_cgu_membase;
 #define LTQ_MPS_BASE_ADDR	(KSEG1 + 0x1F107000)
 #define LTQ_MPS_CHIPID		((u32 *)(LTQ_MPS_BASE_ADDR + 0x0344))
 
-/* allow booting xrx200 phys */
-int xrx200_gphy_boot(struct device *dev, unsigned int id, dma_addr_t dev_addr);
-
 /* request a non-gpio and set the PIO config */
 #define PMU_PPE			 BIT(13)
 extern void ltq_pmu_enable(unsigned int module);
Signature · 1 line
2.30.2

applied to mips-next.

Thomas.

Signature · 2 lines
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea.                                                [ RFC1925, 2.3 ]