Skip to contentSkip to conversation

powerpc: Remove unused prototype for of_show_percpuinfo

PATCH Applied Daniel Axtens 3 participants 3 messages Sep 3, 2021 – Oct 11, 2021

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

PATCH 1/1 powerpc: Remove unused prototype for of_show_percpuinfo

commit 6d7f58b04d82 ("[PATCH] powerpc: Some minor cleanups to setup_32.c") removed of_show_percpuinfo but didn't remove the prototype.

Remove it.

Fixes 6d7f58b04d82 ("[PATCH] powerpc: Some minor cleanups to setup_32.c")
---
 arch/powerpc/platforms/powermac/pmac.h | 1 -
 1 file changed, 1 deletion(-)
arch/powerpc/platforms/powermac/pmac.h +0 -1
index 0d715db434dc..29d2036dcc9d 100644
@@ -27,7 +27,6 @@ extern void pmac_nvram_update(void);
 extern unsigned char pmac_nvram_read_byte(int addr);
 extern void pmac_nvram_write_byte(int addr, unsigned char val);
 extern void pmac_pcibios_after_init(void);
-extern int of_show_percpuinfo(struct seq_file *m, int i);
 
 extern void pmac_setup_pci_dma(void);
 extern void pmac_check_ht_link(void);
Signature · 1 line
2.25.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 7 lines · Daniel Axtens

commit 6d7f58b04d82 ("[PATCH] powerpc: Some minor cleanups to setup_32.c") removed of_show_percpuinfo but didn't remove the prototype.

Remove it.

Fixes 6d7f58b04d82 ("[PATCH] powerpc: Some minor cleanups to setup_32.c")

I grepped through, confirmed there's no other references to of_show_percpuinfo().

(First linuxppc patch written and sent live on a twitch stream?)

Signature · 2 lines
Andrew Donnellan              OzLabs, ADL Canberra
[email protected]             IBM Australia Limited