mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-16 23:45:31 +08:00
KVM: s390: remove unused variable in __inject_vm
the float int structure is no longer used in __inject_vm. Acked-by: Cornelia Huck <cornelia.huck@de.ibm.com> Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
This commit is contained in:
parent
9ffecb1028
commit
f59922b47e
@ -1390,12 +1390,9 @@ static void __floating_irq_kick(struct kvm *kvm, u64 type)
|
||||
|
||||
static int __inject_vm(struct kvm *kvm, struct kvm_s390_interrupt_info *inti)
|
||||
{
|
||||
struct kvm_s390_float_interrupt *fi;
|
||||
u64 type = READ_ONCE(inti->type);
|
||||
int rc;
|
||||
|
||||
fi = &kvm->arch.float_int;
|
||||
|
||||
switch (type) {
|
||||
case KVM_S390_MCHK:
|
||||
rc = __inject_float_mchk(kvm, inti);
|
||||
|
Loading…
Reference in New Issue
Block a user