diff mbox series

[3/7] powerpc/rtas: Drop declaration of undefined call_rtas() function

Message ID 20231106-rtas-trivial-v1-3-61847655c51f@linux.ibm.com (mailing list archive)
State Accepted
Commit 981d1c997fbc5e193b282f3a325a0230bf697363
Headers show
Series powerpc/rtas: Trivial, coding style, and kernel-doc fixes | expand

Commit Message

Nathan Lynch via B4 Relay Nov. 6, 2023, 1:42 p.m. UTC
From: Nathan Lynch <nathanl@linux.ibm.com>

The call_rtas() function has never been a part of arch/powerpc, and
its implementation was removed from arch/ppc by 0a26b1364f14 ("ppc:
Remove CHRP, POWER3 and POWER4 support from arch/ppc").

Signed-off-by: Nathan Lynch <nathanl@linux.ibm.com>
---
 arch/powerpc/include/asm/rtas.h | 2 --
 1 file changed, 2 deletions(-)
diff mbox series

Patch

diff --git a/arch/powerpc/include/asm/rtas.h b/arch/powerpc/include/asm/rtas.h
index c697c3c74694..3bf7f0a4b07e 100644
--- a/arch/powerpc/include/asm/rtas.h
+++ b/arch/powerpc/include/asm/rtas.h
@@ -542,8 +542,6 @@  static inline void pSeries_coalesce_init(void) { }
 static inline void rtas_initialize(void) { }
 #endif
 
-extern int call_rtas(const char *, int, int, unsigned long *, ...);
-
 #ifdef CONFIG_HV_PERF_CTRS
 void read_24x7_sys_info(void);
 #else