LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH -mm] drivers/kvm/svm.c remove unused function
@ 2007-03-25 15:59 Michal Piotrowski
  2007-03-26 17:07 ` Avi Kivity
  0 siblings, 1 reply; 2+ messages in thread
From: Michal Piotrowski @ 2007-03-25 15:59 UTC (permalink / raw)
  To: Avi Kivity, Yaniv Kamay, Andrew Morton, LKML

Remove unused function

CC      drivers/kvm/svm.o
drivers/kvm/svm.c:207: warning: ‘inject_db’ defined but not used

Regards,
Michal

-- 
Michal K. K. Piotrowski
LTG - Linux Testers Group (PL)
(http://www.stardust.webpages.pl/ltg/)
LTG - Linux Testers Group (EN)
(http://www.stardust.webpages.pl/linux_testers_group_en/)

Signed-off-by: Michal Piotrowski <michal.k.k.piotrowski@gmail.com>

--- linux-work5/drivers/kvm/svm.c	2007-03-25 00:31:07.000000000 +0100
+++ linux-work3/drivers/kvm/svm.c	2007-03-25 14:20:08.000000000 +0200
@@ -203,13 +203,6 @@ static void inject_ud(struct kvm_vcpu *v
 						UD_VECTOR;
 }
 
-static void inject_db(struct kvm_vcpu *vcpu)
-{
-	vcpu->svm->vmcb->control.event_inj = 	SVM_EVTINJ_VALID |
-						SVM_EVTINJ_TYPE_EXEPT |
-						DB_VECTOR;
-}
-
 static int is_page_fault(uint32_t info)
 {
 	info &= SVM_EVTINJ_VEC_MASK | SVM_EVTINJ_TYPE_MASK | SVM_EVTINJ_VALID;

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH -mm] drivers/kvm/svm.c remove unused function
  2007-03-25 15:59 [PATCH -mm] drivers/kvm/svm.c remove unused function Michal Piotrowski
@ 2007-03-26 17:07 ` Avi Kivity
  0 siblings, 0 replies; 2+ messages in thread
From: Avi Kivity @ 2007-03-26 17:07 UTC (permalink / raw)
  To: Michal Piotrowski; +Cc: Yaniv Kamay, Andrew Morton, LKML

Michal Piotrowski wrote:
> Remove unused function
>
> CC      drivers/kvm/svm.o
> drivers/kvm/svm.c:207: warning: ‘inject_db’ defined but not used
>   

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:[~2007-03-26 17:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-25 15:59 [PATCH -mm] drivers/kvm/svm.c remove unused function Michal Piotrowski
2007-03-26 17:07 ` Avi Kivity

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).