summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel
diff options
context:
space:
mode:
authorNathan Lynch <nathanl@linux.ibm.com>2021-04-08 16:06:27 +0200
committerMichael Ellerman <mpe@ellerman.id.au>2021-04-14 15:04:16 +0200
commit01c1b9984a12a379f332c39c4b1fd96e473b93b0 (patch)
treede0ee34b3247afb2376ef743d956117d9d5cadc9 /arch/powerpc/kernel
parentpowerpc/rtas: improve ppc_rtas_rmo_buf_show documentation (diff)
downloadlinux-01c1b9984a12a379f332c39c4b1fd96e473b93b0.tar.xz
linux-01c1b9984a12a379f332c39c4b1fd96e473b93b0.zip
powerpc/rtas-proc: remove unused RMO_READ_BUF_MAX
This constant is unused. Signed-off-by: Nathan Lynch <nathanl@linux.ibm.com> Reviewed-by: Alexey Kardashevskiy <aik@ozlabs.ru> Reviewed-by: Andrew Donnellan <ajd@linux.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20210408140630.205502-3-nathanl@linux.ibm.com
Diffstat (limited to 'arch/powerpc/kernel')
-rw-r--r--arch/powerpc/kernel/rtas-proc.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/powerpc/kernel/rtas-proc.c b/arch/powerpc/kernel/rtas-proc.c
index e0f8329966d6..d2b0d99824a4 100644
--- a/arch/powerpc/kernel/rtas-proc.c
+++ b/arch/powerpc/kernel/rtas-proc.c
@@ -755,8 +755,6 @@ static int ppc_rtas_tone_volume_show(struct seq_file *m, void *v)
return 0;
}
-#define RMO_READ_BUF_MAX 30
-
/**
* ppc_rtas_rmo_buf_show() - Describe RTAS-addressable region for user space.
*