From: Christian Borntraeger <borntraeger@xxxxxxxxxx> This patch fixes the following warnings that were introduced by commit 2921292f45733bccdb53e426bcf65ceb13f53d94 Author: Gleb Natapov <gleb@xxxxxxxxxx> KVM: Use macro to iterate over vcpus. arch/s390/kvm/kvm-s390.c: In function 'kvm_arch_set_memory_region': arch/s390/kvm/kvm-s390.c:687: warning: unused variable 'r' arch/s390/kvm/kvm-s390.c:687: warning: unused variable 'j' CC: Gleb Natapov <gleb@xxxxxxxxxx> Signed-off-by: Christian Borntraeger <borntraeger@xxxxxxxxxx> --- arch/s390/kvm/kvm-s390.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: kvm/arch/s390/kvm/kvm-s390.c =================================================================== --- kvm.orig/arch/s390/kvm/kvm-s390.c +++ kvm/arch/s390/kvm/kvm-s390.c @@ -684,7 +684,7 @@ int kvm_arch_set_memory_region(struct kv struct kvm_memory_slot old, int user_alloc) { - int i, j = 0, r = -EINVAL; + int i; struct kvm_vcpu *vcpu; /* A few sanity checks. We can have exactly one memory slot which has -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html