Skip to contentSkip to conversation

kvm: remove redundant declarations

PATCH Applied [email protected] 2 participants 2 messages May 29, 2009 – May 31, 2009 KVM

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 kvm: remove redundant declarations

From: Christian Ehrhardt <[email protected]>

Changing s390 code in kvm_arch_vcpu_load/put come across this header declarations. They are complete duplicates, not even useful forward declarations as nothing using it is in between (maybe it was that in the past).
This patch removes the two dispensable lines.

---

[diffstat]

 kvm_host.h |    2 --
 1 file changed, 2 deletions(-)

[diff]

include/linux/kvm_host.h +0 -2
Index: kvm/include/linux/kvm_host.h
===================================================================
@@ -241,8 +241,6 @@ long kvm_arch_dev_ioctl(struct file *fil
 			unsigned int ioctl, unsigned long arg);
 long kvm_arch_vcpu_ioctl(struct file *filp,
 			 unsigned int ioctl, unsigned long arg);
-void kvm_arch_vcpu_load(struct kvm_vcpu *vcpu, int cpu);
-void kvm_arch_vcpu_put(struct kvm_vcpu *vcpu);
 
 int kvm_dev_ioctl_check_extension(long ext);
 
Applied
#1 lore raw
Quoted 8 lines · [email protected] wrote:

From: Christian Ehrhardt <[email protected]>

Changing s390 code in kvm_arch_vcpu_load/put come across this header declarations. They are complete duplicates, not even useful forward declarations as nothing using it is in between (maybe it was that in the past).
This patch removes the two dispensable lines.

Applied, thanks.

Signature · 1 line
error compiling committee.c: too many arguments to function