[PATCH] KVM: x86: hyperv: fix semicolon.cocci warnings
From: kbuild test robot
Date: Thu Jun 28 2018 - 15:10:20 EST
From: kbuild test robot <fengguang.wu@xxxxxxxxx>
arch/x86/kvm/hyperv.c:174:2-3: Unneeded semicolon
Remove unneeded semicolon.
Generated by: scripts/coccinelle/misc/semicolon.cocci
Fixes: 5282e205b1f9 ("KVM: x86: hyperv: introduce vp_index_to_vcpu_idx mapping")
CC: Vitaly Kuznetsov <vkuznets@xxxxxxxxxx>
Signed-off-by: kbuild test robot <fengguang.wu@xxxxxxxxx>
---
hyperv.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/arch/x86/kvm/hyperv.c
+++ b/arch/x86/kvm/hyperv.c
@@ -171,7 +171,7 @@ static u32 vp_idx_to_vcpu_idx(struct kvm
} else /* (tmp_vp_idx > vp_idx) */ {
r_index = tmp_index - 1;
}
- };
+ }
unlock:
rcu_read_unlock();