Re: [RFC PATCH 1/2] KVM: remove useless check of "ret" variable prior to returning the same value

2015-03-30 Thread Paolo Bonzini
On 28/03/2015 23:27, Eugene Korenevsky wrote: > A trivial code cleanup. This `if` is redundant. > > Signed-off-by: Eugene Korenevsky > --- > arch/x86/kvm/emulate.c | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) > > diff --git a/arch/x86/kvm/emulate.c b/arch/x86/kvm/emulate.c > in

[RFC PATCH 1/2] KVM: remove useless check of "ret" variable prior to returning the same value

2015-03-28 Thread Eugene Korenevsky
A trivial code cleanup. This `if` is redundant. Signed-off-by: Eugene Korenevsky --- arch/x86/kvm/emulate.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/arch/x86/kvm/emulate.c b/arch/x86/kvm/emulate.c index 106c015..3a494f3 100644 --- a/arch/x86/kvm/emulate.c +++ b/arc