powerpc/rtas-rtc: remove unused constant

Started by Nathan Lynch on May 3, 2021 · 2 messages from 2 authors · Last reply Jun 26, 2021

Subsystems (2)

Maintainers (2)

STALE1961d LANDED

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

open the first message on its own page

Message details and related content
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
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help