Skip to content

Commit

Permalink
KVM: s390/interrupt: remove double assignment
Browse files Browse the repository at this point in the history
r is already initialized to 0.

Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Reviewed-by: Thomas Huth <thuth@linux.vnet.ibm.com>
  • Loading branch information
Christian Borntraeger committed Sep 10, 2014
1 parent f7a960a commit bfac1f5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion arch/s390/kvm/interrupt.c
Original file line number Diff line number Diff line change
@@ -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:

0 comments on commit bfac1f5

Please sign in to comment.