KVM: emulator: cleanup decode_register_operand() a bit
authorGleb Natapov <gleb@redhat.com>
Mon, 4 Nov 2013 13:52:42 +0000 (15:52 +0200)
committerGleb Natapov <gleb@redhat.com>
Tue, 5 Nov 2013 07:11:30 +0000 (09:11 +0200)
commit6d4d85ec5698a65165eb9af0ce0e508a7c757bac
tree1c0b5a89fc8722979d33e11ad84861d796dc241c
parentaa9ac1a6323d21065e121902fef4f1b6c07c37c7
KVM: emulator: cleanup decode_register_operand() a bit

Make code shorter.

Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Gleb Natapov <gleb@redhat.com>
arch/x86/kvm/emulate.c