KVM: s390: remove redundant setting of interrupt type
authorJens Freimann <jfrei@linux.vnet.ibm.com>
Wed, 14 Jan 2015 14:16:57 +0000 (15:16 +0100)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Fri, 23 Jan 2015 12:25:42 +0000 (13:25 +0100)
Setting inti->type again is unnecessary here, so let's
remove this.

Acked-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Jens Freimann <jfrei@linux.vnet.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
arch/s390/kvm/interrupt.c

index 60d9edd083ec94df2a6496fa5a4d2786377bbb36..c34e1d904ff696f2c8707e0f3de7efc3695b9b51 100644 (file)
@@ -1296,7 +1296,6 @@ int kvm_s390_inject_vm(struct kvm *kvm,
                inti->ext.ext_params = s390int->parm;
                break;
        case KVM_S390_INT_PFAULT_DONE:
-               inti->type = s390int->type;
                inti->ext.ext_params2 = s390int->parm64;
                break;
        case KVM_S390_MCHK: