[PATCH 0/3] cleanup of redundant statements

2014-09-04 Thread Christian Borntraeger
Paolo,

I was playing with some static code checkers. Here is some fallout
from the kvm common code. Only minor things that are not real error,
just redundant statements.

One could argue here and there that these statement make the code easier
to understand. So, please have a look and either drop or apply the patches.

Christian Borntraeger (3):
  KVM: remove redundant check of in_spin_loop
  KVM: remove redundant assigment of return value in kvm_dev_ioctl
  KVM: remove redundant assignments in __kvm_set_memory_region

 virt/kvm/kvm_main.c | 8 +---
 1 file changed, 1 insertion(+), 7 deletions(-)

-- 
1.8.4.2

--
To unsubscribe from this list: send the line unsubscribe kvm in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH 0/3] cleanup of redundant statements

2014-09-04 Thread Paolo Bonzini
Il 04/09/2014 21:13, Christian Borntraeger ha scritto:
 Paolo,
 
 I was playing with some static code checkers. Here is some fallout
 from the kvm common code. Only minor things that are not real error,
 just redundant statements.
 
 One could argue here and there that these statement make the code easier
 to understand. So, please have a look and either drop or apply the patches.

I think all the patches are an improvement.  Thanks!

Paolo
--
To unsubscribe from this list: send the line unsubscribe kvm in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html