KVM: remove useless check of "ret" variable prior to returning the same value
authorEugene Korenevsky <ekorenevsky@gmail.com>
Sat, 28 Mar 2015 22:27:17 +0000 (01:27 +0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 30 Mar 2015 14:57:15 +0000 (16:57 +0200)
commit2f729b10bb74f97797beb310113f6182f262d36a
tree3df79b2c9b098b5464a6d8ab85ce9d2e49530f9f
parentb32a99180027ec980af971d548781eac1f6bb9b5
KVM: remove useless check of "ret" variable prior to returning the same value

A trivial code cleanup. This `if` is redundant.

Signed-off-by: Eugene Korenevsky <ekorenevsky@gmail.com>
Message-Id: <20150328222717.GA6508@gnote>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/emulate.c