]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
KVM: Remove unused function
authorMichal Piotrowski <michal.k.k.piotrowski@gmail.com>
Sun, 25 Mar 2007 15:59:32 +0000 (17:59 +0200)
committerAvi Kivity <avi@qumranet.com>
Thu, 3 May 2007 07:52:27 +0000 (10:52 +0300)
Remove unused function

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

Signed-off-by: Michal Piotrowski <michal.k.k.piotrowski@gmail.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
drivers/kvm/svm.c

index ca2642fc091fd27355eb71f9a136ad0776d084ed..303e95957e7bf9bb7289246cbace6744bf26ecb9 100644 (file)
@@ -203,13 +203,6 @@ static void inject_ud(struct kvm_vcpu *vcpu)
                                                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;