All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] cleanup of redundant statements
@ 2014-09-04 19:13 Christian Borntraeger
  2014-09-04 19:13 ` [PATCH 1/3] KVM: remove redundant check of in_spin_loop Christian Borntraeger
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Christian Borntraeger @ 2014-09-04 19:13 UTC (permalink / raw)
  To: Paolo Bonzini; +Cc: KVM, Gleb Natapov, 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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-09-04 20:39 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-04 19:13 [PATCH 0/3] cleanup of redundant statements Christian Borntraeger
2014-09-04 19:13 ` [PATCH 1/3] KVM: remove redundant check of in_spin_loop Christian Borntraeger
2014-09-04 19:13 ` [PATCH 2/3] KVM: remove redundant assigment of return value in kvm_dev_ioctl Christian Borntraeger
2014-09-04 19:13 ` [PATCH 3/3] KVM: remove redundant assignments in __kvm_set_memory_region Christian Borntraeger
2014-09-04 20:39 ` [PATCH 0/3] cleanup of redundant statements Paolo Bonzini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.