summaryrefslogtreecommitdiffstats
path: root/arch/arm64/kvm/sys_regs.h
diff options
context:
space:
mode:
authorMarc Zyngier <maz@kernel.org>2022-07-04 10:03:33 +0100
committerMarc Zyngier <maz@kernel.org>2022-07-17 11:55:33 +0100
commitf6dddbb25572218d2e8ab93bfdad20cddeb99b5a (patch)
treeaf28fefbb37e7fafb000c0aab761b93e39d78aaf /arch/arm64/kvm/sys_regs.h
parent619064afa9b6f0088b86a1fed20c049cfe94cdf7 (diff)
downloadlinux-f6dddbb25572218d2e8ab93bfdad20cddeb99b5a.tar.bz2
KVM: arm64: Get rid of find_reg_by_id()
This helper doesn't have a user anymore, let's get rid of it. Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'arch/arm64/kvm/sys_regs.h')
-rw-r--r--arch/arm64/kvm/sys_regs.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/arm64/kvm/sys_regs.h b/arch/arm64/kvm/sys_regs.h
index b8b576a2af2b..49517f58deb5 100644
--- a/arch/arm64/kvm/sys_regs.h
+++ b/arch/arm64/kvm/sys_regs.h
@@ -190,11 +190,6 @@ find_reg(const struct sys_reg_params *params, const struct sys_reg_desc table[],
return __inline_bsearch((void *)pval, table, num, sizeof(table[0]), match_sys_reg);
}
-const struct sys_reg_desc *find_reg_by_id(u64 id,
- struct sys_reg_params *params,
- const struct sys_reg_desc table[],
- unsigned int num);
-
const struct sys_reg_desc *get_reg_by_id(u64 id,
const struct sys_reg_desc table[],
unsigned int num);