2019-12-03 07:46:04

by Zenghui Yu

[permalink] [raw]
Subject: [PATCH] KVM: Remove duplicated declaration of kvm_vcpu_kick

There are two declarations of kvm_vcpu_kick() in kvm_host.h where
one of them is redundant. Remove to keep the git grep a bit cleaner.

Signed-off-by: Zenghui Yu <[email protected]>
---
include/linux/kvm_host.h | 1 -
1 file changed, 1 deletion(-)

diff --git a/include/linux/kvm_host.h b/include/linux/kvm_host.h
index 7ed1e2f8641e..92ce5e205622 100644
--- a/include/linux/kvm_host.h
+++ b/include/linux/kvm_host.h
@@ -982,7 +982,6 @@ void kvm_arch_destroy_vm(struct kvm *kvm);
void kvm_arch_sync_events(struct kvm *kvm);

int kvm_cpu_has_pending_timer(struct kvm_vcpu *vcpu);
-void kvm_vcpu_kick(struct kvm_vcpu *vcpu);

bool kvm_is_reserved_pfn(kvm_pfn_t pfn);
bool kvm_is_zone_device_pfn(kvm_pfn_t pfn);
--
2.19.1



2019-12-03 07:49:56

by Cornelia Huck

[permalink] [raw]
Subject: Re: [PATCH] KVM: Remove duplicated declaration of kvm_vcpu_kick

On Tue, 3 Dec 2019 15:44:08 +0800
Zenghui Yu <[email protected]> wrote:

> There are two declarations of kvm_vcpu_kick() in kvm_host.h where
> one of them is redundant. Remove to keep the git grep a bit cleaner.
>
> Signed-off-by: Zenghui Yu <[email protected]>
> ---
> include/linux/kvm_host.h | 1 -
> 1 file changed, 1 deletion(-)

Reviewed-by: Cornelia Huck <[email protected]>