KVM: remove redundant assignment to variable r
authorColin Ian King <colin.king@canonical.com>
Fri, 10 Apr 2020 11:35:26 +0000 (12:35 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 15 Apr 2020 16:08:40 +0000 (12:08 -0400)
commit788109c1ccf70f29d2d15de94aabf100710d0069
tree9751870e9779701a7107aea30bfc64ec6d21d9db
parent56a87e5d997b722acf2a5dd5c938d574d8c95da6
KVM: remove redundant assignment to variable r

The variable r is being assigned  with a value that is never read
and it is being updated later with a new value.  The initialization is
redundant and can be removed.

Addresses-Coverity: ("Unused value")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Message-Id: <20200410113526.13822-1-colin.king@canonical.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
virt/kvm/kvm_main.c