Commit bfac1f59 authored by Christian Borntraeger's avatar Christian Borntraeger

KVM: s390/interrupt: remove double assignment

r is already initialized to 0.
Signed-off-by: default avatarChristian Borntraeger <borntraeger@de.ibm.com>
Reviewed-by: default avatarThomas Huth <thuth@linux.vnet.ibm.com>
parent f7a960af
...@@ -1352,7 +1352,6 @@ static int flic_set_attr(struct kvm_device *dev, struct kvm_device_attr *attr) ...@@ -1352,7 +1352,6 @@ static int flic_set_attr(struct kvm_device *dev, struct kvm_device_attr *attr)
r = enqueue_floating_irq(dev, attr); r = enqueue_floating_irq(dev, attr);
break; break;
case KVM_DEV_FLIC_CLEAR_IRQS: case KVM_DEV_FLIC_CLEAR_IRQS:
r = 0;
kvm_s390_clear_float_irqs(dev->kvm); kvm_s390_clear_float_irqs(dev->kvm);
break; break;
case KVM_DEV_FLIC_APF_ENABLE: case KVM_DEV_FLIC_APF_ENABLE:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment