summaryrefslogtreecommitdiffstats
path: root/arch/arm64/kernel/ptrace.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2020-06-17 15:57:08 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2020-07-27 20:31:13 +0200
commitc522401e0656b51e6a65ec112489cb078801aa9c (patch)
tree9da834bf96005aefc556e4bd52543ae89fe4a735 /arch/arm64/kernel/ptrace.c
parentregset: kill ->get() (diff)
downloadlinux-c522401e0656b51e6a65ec112489cb078801aa9c.tar.xz
linux-c522401e0656b51e6a65ec112489cb078801aa9c.zip
regset(): kill ->get_size()
not used anymore Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/arm64/kernel/ptrace.c')
-rw-r--r--arch/arm64/kernel/ptrace.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/arch/arm64/kernel/ptrace.c b/arch/arm64/kernel/ptrace.c
index 902d987fdd35..5bf737d38b26 100644
--- a/arch/arm64/kernel/ptrace.c
+++ b/arch/arm64/kernel/ptrace.c
@@ -740,18 +740,6 @@ static unsigned int sve_size_from_header(struct user_sve_header const *header)
return ALIGN(header->size, SVE_VQ_BYTES);
}
-static unsigned int sve_get_size(struct task_struct *target,
- const struct user_regset *regset)
-{
- struct user_sve_header header;
-
- if (!system_supports_sve())
- return 0;
-
- sve_init_header_from_task(&header, target);
- return sve_size_from_header(&header);
-}
-
static int sve_get(struct task_struct *target,
const struct user_regset *regset,
struct membuf to)
@@ -1130,7 +1118,6 @@ static const struct user_regset aarch64_regsets[] = {
.align = SVE_VQ_BYTES,
.regset_get = sve_get,
.set = sve_set,
- .get_size = sve_get_size,
},
#endif
#ifdef CONFIG_ARM64_PTR_AUTH