[PATCH] powerpc: Remove unused prototype for of_show_percpuinfo

Subsystems: linux for power macintosh, linux for powerpc (32-bit and 64-bit), the rest

STALE1785d LANDED

Landed in mainline as 93fa8e9d8811 on 2021-10-08.

3 messages, 3 authors, 2021-10-11 · open the first message on its own page

[PATCH] powerpc: Remove unused prototype for of_show_percpuinfo

From: Daniel Axtens <hidden>
Date: 2021-09-03 06:34:09

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")
Signed-off-by: Daniel Axtens <redacted>
---
 arch/powerpc/platforms/powermac/pmac.h | 1 -
 1 file changed, 1 deletion(-)
diff --git a/arch/powerpc/platforms/powermac/pmac.h b/arch/powerpc/platforms/powermac/pmac.h
index 0d715db434dc..29d2036dcc9d 100644
--- a/arch/powerpc/platforms/powermac/pmac.h
+++ b/arch/powerpc/platforms/powermac/pmac.h
@@ -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);
-- 
2.25.1

Re: [PATCH] powerpc: Remove unused prototype for of_show_percpuinfo

From: Andrew Donnellan <hidden>
Date: 2021-09-03 06:37:13

On 3/9/21 4:32 pm, Daniel Axtens wrote:
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")
Signed-off-by: Daniel Axtens <redacted>
I grepped through, confirmed there's no other references to 
of_show_percpuinfo().

Reviewed-by: Andrew Donnellan <redacted>

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

-- 
Andrew Donnellan              OzLabs, ADL Canberra
ajd@linux.ibm.com             IBM Australia Limited

Re: [PATCH] powerpc: Remove unused prototype for of_show_percpuinfo

From: Michael Ellerman <hidden>
Date: 2021-10-11 12:10:07

On Fri, 3 Sep 2021 16:32:46 +1000, Daniel Axtens wrote:
commit 6d7f58b04d82 ("[PATCH] powerpc: Some minor cleanups to setup_32.c")
removed of_show_percpuinfo but didn't remove the prototype.

Remove it.



[...]
Applied to powerpc/next.

[1/1] powerpc: Remove unused prototype for of_show_percpuinfo
      https://git.kernel.org/powerpc/c/93fa8e9d88118bd2bdf2c61f9b63e7d4d9b648fe

cheers
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help