KVM: emulate: clean up initializations in init_decode_cache
authorBandan Das <bsd@redhat.com>
Wed, 16 Apr 2014 16:46:12 +0000 (12:46 -0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 11 Jul 2014 07:14:00 +0000 (09:14 +0200)
commitc44b4c6ab80eef3a9c52c7b3f0c632942e6489aa
tree0ac6d21a724a39f8b87767011b25466336096fcf
parent02357bdc8c30a60cd33dd438f851c1306c34f435
KVM: emulate: clean up initializations in init_decode_cache

A lot of initializations are unnecessary as they get set to
appropriate values before actually being used. Optimize
placement of fields in x86_emulate_ctxt

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