KVM: x86: Drop some unused functions from lapic
authorJan Kiszka <jan.kiszka@siemens.com>
Thu, 25 Jul 2013 07:59:22 +0000 (09:59 +0200)
committerGleb Natapov <gleb@redhat.com>
Thu, 25 Jul 2013 10:42:38 +0000 (13:42 +0300)
Both have no users anymore.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Gleb Natapov <gleb@redhat.com>
arch/x86/kvm/lapic.c

index 9dc3650ac0a30331c194e23dea9a2494d8e38c33..c98f05442325e10284f03c5c8213a7c43d1cc7d1 100644 (file)
@@ -79,16 +79,6 @@ static inline void apic_set_reg(struct kvm_lapic *apic, int reg_off, u32 val)
        *((u32 *) (apic->regs + reg_off)) = val;
 }
 
-static inline int apic_test_and_set_vector(int vec, void *bitmap)
-{
-       return test_and_set_bit(VEC_POS(vec), (bitmap) + REG_POS(vec));
-}
-
-static inline int apic_test_and_clear_vector(int vec, void *bitmap)
-{
-       return test_and_clear_bit(VEC_POS(vec), (bitmap) + REG_POS(vec));
-}
-
 static inline int apic_test_vector(int vec, void *bitmap)
 {
        return test_bit(VEC_POS(vec), (bitmap) + REG_POS(vec));