diff options
author | Nathan Lynch <nathanl@linux.ibm.com> | 2023-11-06 07:42:56 -0600 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2023-11-21 12:06:50 +1100 |
commit | 1d8faf1f41b550eb7ab7ac841ebd70f205840dde (patch) | |
tree | 7f884abdfbc5623f0635cf42955e5b2d93ca0067 /arch/powerpc/kernel | |
parent | 981d1c997fbc5e193b282f3a325a0230bf697363 (diff) |
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/kernel')
-rw-r--r-- | arch/powerpc/kernel/rtas.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/powerpc/kernel/rtas.c b/arch/powerpc/kernel/rtas.c index eddc031c4b95..b5b340a91157 100644 --- a/arch/powerpc/kernel/rtas.c +++ b/arch/powerpc/kernel/rtas.c @@ -900,11 +900,6 @@ int rtas_token(const char *service) } EXPORT_SYMBOL_GPL(rtas_token); -int rtas_service_present(const char *service) -{ - return rtas_token(service) != RTAS_UNKNOWN_SERVICE; -} - #ifdef CONFIG_RTAS_ERROR_LOGGING static u32 rtas_error_log_max __ro_after_init = RTAS_ERROR_LOG_MAX; |