]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: emulate: cleanup decode_modrm
authorBandan Das <bsd@redhat.com>
Wed, 16 Apr 2014 16:46:11 +0000 (12:46 -0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 11 Jul 2014 07:14:00 +0000 (09:14 +0200)
commitb1afc64efeab5e9a3e3c038391c9e88c107cdd45
treed74663db7274e8e387554d0373d0c844b96ddba2
parent48ddadc9c354902a6bf6d3df2ffcf6cc2deda8b3
KVM: emulate: cleanup decode_modrm

Remove the if conditional - that will help us avoid
an "else initialize to 0" Also, rearrange operators
for slightly better code.

Signed-off-by: Bandan Das <bsd@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/emulate.c