linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] powerpc/rtas: Drop unused export symbols
@ 2023-01-27 11:12 Michael Ellerman
  2023-01-27 12:40 ` Nathan Lynch
  2023-02-15 12:46 ` Michael Ellerman
  0 siblings, 2 replies; 3+ messages in thread
From: Michael Ellerman @ 2023-01-27 11:12 UTC (permalink / raw)
  To: linuxppc-dev; +Cc: nathanl

Some RTAS symbols are never used by modular code, drop their exports.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
---
 arch/powerpc/kernel/rtas.c | 4 ----
 1 file changed, 4 deletions(-)

FYI: I'll slot this in prior to Nathan's series changing the exports to GPL.

diff --git a/arch/powerpc/kernel/rtas.c b/arch/powerpc/kernel/rtas.c
index 6c5716b19d69..149742119b6d 100644
--- a/arch/powerpc/kernel/rtas.c
+++ b/arch/powerpc/kernel/rtas.c
@@ -341,7 +341,6 @@ int rtas_service_present(const char *service)
 {
 	return rtas_token(service) != RTAS_UNKNOWN_SERVICE;
 }
-EXPORT_SYMBOL(rtas_service_present);
 
 #ifdef CONFIG_RTAS_ERROR_LOGGING
 
@@ -356,7 +355,6 @@ int rtas_get_error_log_max(void)
 {
 	return rtas_error_log_max;
 }
-EXPORT_SYMBOL(rtas_get_error_log_max);
 
 static void __init init_error_log_max(void)
 {
@@ -622,7 +620,6 @@ unsigned int rtas_busy_delay_time(int status)
 
 	return ms;
 }
-EXPORT_SYMBOL(rtas_busy_delay_time);
 
 /**
  * rtas_busy_delay() - helper for RTAS busy and extended delay statuses
@@ -820,7 +817,6 @@ bool rtas_indicator_present(int token, int *maxindex)
 
 	return false;
 }
-EXPORT_SYMBOL(rtas_indicator_present);
 
 int rtas_set_indicator(int indicator, int index, int new_value)
 {
-- 
2.39.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] powerpc/rtas: Drop unused export symbols
  2023-01-27 11:12 [PATCH] powerpc/rtas: Drop unused export symbols Michael Ellerman
@ 2023-01-27 12:40 ` Nathan Lynch
  2023-02-15 12:46 ` Michael Ellerman
  1 sibling, 0 replies; 3+ messages in thread
From: Nathan Lynch @ 2023-01-27 12:40 UTC (permalink / raw)
  To: Michael Ellerman, linuxppc-dev

Michael Ellerman <mpe@ellerman.id.au> writes:
> Some RTAS symbols are never used by modular code, drop their exports.
>
> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
> ---
>  arch/powerpc/kernel/rtas.c | 4 ----
>  1 file changed, 4 deletions(-)
>
> FYI: I'll slot this in prior to Nathan's series changing the exports
> to GPL.

LGTM

Reviewed-by: Nathan Lynch <nathanl@linux.ibm.com>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] powerpc/rtas: Drop unused export symbols
  2023-01-27 11:12 [PATCH] powerpc/rtas: Drop unused export symbols Michael Ellerman
  2023-01-27 12:40 ` Nathan Lynch
@ 2023-02-15 12:46 ` Michael Ellerman
  1 sibling, 0 replies; 3+ messages in thread
From: Michael Ellerman @ 2023-02-15 12:46 UTC (permalink / raw)
  To: Michael Ellerman, linuxppc-dev; +Cc: nathanl

On Fri, 27 Jan 2023 22:12:31 +1100, Michael Ellerman wrote:
> Some RTAS symbols are never used by modular code, drop their exports.
> 
> 

Applied to powerpc/next.

[1/1] powerpc/rtas: Drop unused export symbols
      https://git.kernel.org/powerpc/c/0d7e812fd282bf248b54523cc550a34b77c2e9a2

cheers

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-02-15 12:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-27 11:12 [PATCH] powerpc/rtas: Drop unused export symbols Michael Ellerman
2023-01-27 12:40 ` Nathan Lynch
2023-02-15 12:46 ` Michael Ellerman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).