[PATCH] powerpc/rtas-rtc: remove unused constant

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

STALE1896d LANDED

Landed in mainline as 4bfa5ddff924 on 2021-06-25.

2 messages, 2 authors, 2021-06-26 · open the first message on its own page

[PATCH] powerpc/rtas-rtc: remove unused constant

From: Nathan Lynch <hidden>
Date: 2021-05-03 17:58:47

RTAS_CLOCK_BUSY is unused, remove it.

Signed-off-by: Nathan Lynch <redacted>
---
 arch/powerpc/kernel/rtas-rtc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/powerpc/kernel/rtas-rtc.c b/arch/powerpc/kernel/rtas-rtc.c
index a28239b8b0c0..33c07c8af6c8 100644
--- a/arch/powerpc/kernel/rtas-rtc.c
+++ b/arch/powerpc/kernel/rtas-rtc.c
@@ -12,7 +12,7 @@
 
 
 #define MAX_RTC_WAIT 5000	/* 5 sec */
-#define RTAS_CLOCK_BUSY (-2)
+
 time64_t __init rtas_get_boot_time(void)
 {
 	int ret[8];
-- 
2.30.2

Re: [PATCH] powerpc/rtas-rtc: remove unused constant

From: Michael Ellerman <hidden>
Date: 2021-06-26 10:43:00

On Mon, 3 May 2021 12:58:11 -0500, Nathan Lynch wrote:
RTAS_CLOCK_BUSY is unused, remove it.
Applied to powerpc/next.

[1/1] powerpc/rtas-rtc: remove unused constant
      https://git.kernel.org/powerpc/c/4bfa5ddff924c2d5b2427f752515ca594dade19f

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