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

- Subsystems: LINUX FOR POWERPC (32-BIT AND 64-BIT), THE REST
- Maintainers: Madhavan Srinivasan, Linus Torvalds
- Status: LANDED (4bfa5ddff924 · 2021-06-25 04:47)
- Landed in mainline as 4bfa5ddff924 on 2021-06-25.
- List: linuxppc-dev
- 2 messages, 2 authors
- Page: https://ratatoskr.run/linuxppc-dev/2021/05/9522426/t

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

- From: Nathan Lynch \<hidden\>
- Date: 2021-05-03 17:58:47 
- Message: https://ratatoskr.run/linuxppc-dev/2021/05/9522426.md

```text
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 
- Message: https://ratatoskr.run/linuxppc-dev/2021/06/9523408.md

```text
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
```
