KVM: emulate: simplify writeback
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 1 Apr 2014 11:23:24 +0000 (13:23 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 11 Jul 2014 07:13:59 +0000 (09:13 +0200)
commitf5f87dfbc777f89148c3c66438741139845d3ac6
tree88b3a6f2774903587c7ddabe90a9c207ac756210
parent54cfdb3e95d4f70409a7d3432a42cffc9a232be7
KVM: emulate: simplify writeback

The "if/return" checks are useless, because we return X86EMUL_CONTINUE
anyway if we do not return.

Reviewed-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/emulate.c