Messages in this thread Patch in this message |  | | | From | Avi Kivity <> | | Subject | [PATCH 33/41] KVM: Remove unused function | | Date | Sun, 1 Apr 2007 17:35:30 +0300 |
| |
From: Michal Piotrowski <michal.k.k.piotrowski@gmail.com>
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 | 7 ------- 1 files changed, 0 insertions(+), 7 deletions(-) diff --git a/drivers/kvm/svm.c b/drivers/kvm/svm.c index ca2642f..303e959 100644 --- a/drivers/kvm/svm.c +++ b/drivers/kvm/svm.c @@ -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; -- 1.5.0.5 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|  |