]> asedeno.scripts.mit.edu Git - linux.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)
commit02357bdc8c30a60cd33dd438f851c1306c34f435
treed74663db7274e8e387554d0373d0c844b96ddba2
parent685bbf4ac406364a84a1d4237b4970dc570fd4cb
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