KVM: s390/interrupt: remove double assignment
authorChristian Borntraeger <borntraeger@de.ibm.com>
Wed, 3 Sep 2014 14:16:47 +0000 (16:16 +0200)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Wed, 10 Sep 2014 10:19:45 +0000 (12:19 +0200)
r is already initialized to 0.

Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Reviewed-by: Thomas Huth <thuth@linux.vnet.ibm.com>
arch/s390/kvm/interrupt.c

index 4abf819..4cad00a 100644 (file)
@@ -1352,7 +1352,6 @@ static int flic_set_attr(struct kvm_device *dev, struct kvm_device_attr *attr)
                r = enqueue_floating_irq(dev, attr);
                break;
        case KVM_DEV_FLIC_CLEAR_IRQS:
-               r = 0;
                kvm_s390_clear_float_irqs(dev->kvm);
                break;
        case KVM_DEV_FLIC_APF_ENABLE: