* [PATCH] kvm: remove redundant declarations
@ 2009-05-29 10:58 ehrhardt
2009-05-31 9:52 ` Avi Kivity
0 siblings, 1 reply; 2+ messages in thread
From: ehrhardt @ 2009-05-29 10:58 UTC (permalink / raw)
To: kvm, avi; +Cc: ehrhardt, borntraeger, cotte, heiko.carstens, schwidefsky
From: Christian Ehrhardt <ehrhardt@linux.vnet.ibm.com>
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.
Signed-off-by: Christian Ehrhardt <ehrhardt@linux.vnet.ibm.com>
---
[diffstat]
kvm_host.h | 2 --
1 file changed, 2 deletions(-)
[diff]
Index: kvm/include/linux/kvm_host.h
===================================================================
--- kvm.orig/include/linux/kvm_host.h
+++ 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);
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] kvm: remove redundant declarations
2009-05-29 10:58 [PATCH] kvm: remove redundant declarations ehrhardt
@ 2009-05-31 9:52 ` Avi Kivity
0 siblings, 0 replies; 2+ messages in thread
From: Avi Kivity @ 2009-05-31 9:52 UTC (permalink / raw)
To: ehrhardt; +Cc: kvm, borntraeger, cotte, heiko.carstens, schwidefsky
ehrhardt@linux.vnet.ibm.com wrote:
> From: Christian Ehrhardt <ehrhardt@linux.vnet.ibm.com>
>
> 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.
--
error compiling committee.c: too many arguments to function
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-05-31 9:52 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-29 10:58 [PATCH] kvm: remove redundant declarations ehrhardt
2009-05-31 9:52 ` Avi Kivity
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox