KVM: s390: remove superfluous save_fpu_regs() call
authorHeiko Carstens <hca@linux.ibm.com>
Mon, 4 Dec 2023 14:46:41 +0000 (15:46 +0100)
committerAlexander Gordeev <agordeev@linux.ibm.com>
Mon, 11 Dec 2023 13:33:06 +0000 (14:33 +0100)
commitd7271ba40155d5e5c28e13516df5d9c69f40ef20
treeb2811148e1deca4cf0e659cef9040e1982c18733
parent702644249d3e03333f16273a3a3ebedecfb7f2c6
KVM: s390: remove superfluous save_fpu_regs() call

The save_fpu_regs() call in kvm_arch_vcpu_ioctl_get_fpu() is pointless: it
will save the current user space fpu context to the thread's save area. But
the code is accessing only the vcpu's save are / mapped register area,
which in this case are not the same.

Therefore remove the confusing call.

Reviewed-by: Claudio Imbrenda <imbrenda@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
arch/s390/kvm/kvm-s390.c