summaryrefslogtreecommitdiff
path: root/arch/powerpc/include
diff options
context:
space:
mode:
authorNathan Lynch <nathanl@linux.ibm.com>2023-11-06 16:42:56 +0300
committerMichael Ellerman <mpe@ellerman.id.au>2023-11-21 04:06:50 +0300
commit1d8faf1f41b550eb7ab7ac841ebd70f205840dde (patch)
tree7f884abdfbc5623f0635cf42955e5b2d93ca0067 /arch/powerpc/include
parent981d1c997fbc5e193b282f3a325a0230bf697363 (diff)
downloadlinux-1d8faf1f41b550eb7ab7ac841ebd70f205840dde.tar.xz
powerpc/rtas: Remove unused rtas_service_present()
rtas_service_present() has no more users. rtas_function_implemented() is now the appropriate API for determining whether a given RTAS function is available to call. Signed-off-by: Nathan Lynch <nathanl@linux.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://msgid.link/20231106-rtas-trivial-v1-4-61847655c51f@linux.ibm.com
Diffstat (limited to 'arch/powerpc/include')
-rw-r--r--arch/powerpc/include/asm/rtas.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/powerpc/include/asm/rtas.h b/arch/powerpc/include/asm/rtas.h
index 3bf7f0a4b07e..c6568a647cd0 100644
--- a/arch/powerpc/include/asm/rtas.h
+++ b/arch/powerpc/include/asm/rtas.h
@@ -409,7 +409,6 @@ static inline bool rtas_function_implemented(const rtas_fn_handle_t handle)
return rtas_function_token(handle) != RTAS_UNKNOWN_SERVICE;
}
extern int rtas_token(const char *service);
-extern int rtas_service_present(const char *service);
extern int rtas_call(int token, int, int, int *, ...);
void rtas_call_unlocked(struct rtas_args *args, int token, int nargs,
int nret, ...);