summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNathan Lynch <nathanl@linux.ibm.com>2021-05-03 19:58:11 +0200
committerMichael Ellerman <mpe@ellerman.id.au>2021-06-25 06:47:20 +0200
commit4bfa5ddff924c2d5b2427f752515ca594dade19f (patch)
tree2151a76e54c70638f4b975a6fa1ccb723a736297
parentpowerpc/papr_scm: trivial: fix typo in a comment (diff)
downloadlinux-4bfa5ddff924c2d5b2427f752515ca594dade19f.tar.xz
linux-4bfa5ddff924c2d5b2427f752515ca594dade19f.zip
powerpc/rtas-rtc: remove unused constant
RTAS_CLOCK_BUSY is unused, remove it. Signed-off-by: Nathan Lynch <nathanl@linux.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20210503175811.1528208-1-nathanl@linux.ibm.com
-rw-r--r--arch/powerpc/kernel/rtas-rtc.c2
1 files changed, 1 insertions, 1 deletions
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];