arch: powerpc: kvm: book3s_pr.c: Remove unused function
Remove the function get_fpr_index() that is not used anywhere. This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist <rickard_strandqvist@spectrumdigital.se> Signed-off-by: Alexander Graf <agraf@suse.de>
This commit is contained in:
parent
54ca162a0c
commit
6178839b01
1 changed files with 0 additions and 5 deletions
|
@ -644,11 +644,6 @@ int kvmppc_handle_pagefault(struct kvm_run *run, struct kvm_vcpu *vcpu,
|
||||||
return r;
|
return r;
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline int get_fpr_index(int i)
|
|
||||||
{
|
|
||||||
return i * TS_FPRWIDTH;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Give up external provider (FPU, Altivec, VSX) */
|
/* Give up external provider (FPU, Altivec, VSX) */
|
||||||
void kvmppc_giveup_ext(struct kvm_vcpu *vcpu, ulong msr)
|
void kvmppc_giveup_ext(struct kvm_vcpu *vcpu, ulong msr)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue