KVM: remove redundant assigment of return value in kvm_dev_ioctl
authorChristian Borntraeger <borntraeger@de.ibm.com>
Thu, 4 Sep 2014 19:13:32 +0000 (21:13 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 5 Sep 2014 10:01:15 +0000 (12:01 +0200)
commita13f533b2f1d53a7c0baa7490498caeab7bc8ba5
treecc027dcaf928b431acb067975bc9d83618bf0214
parent34656113182b704682e23d1363417536addfec97
KVM: remove redundant assigment of return value in kvm_dev_ioctl

The first statement of kvm_dev_ioctl is
        long r = -EINVAL;

No need to reassign the same value.

Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
virt/kvm/kvm_main.c