]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - arch/x86/kvm/irq.c
Merge branch 'master' into csb1725
[mv-sheeva.git] / arch / x86 / kvm / irq.c
index 2095a049835e4916b4bd504688e82a2a6cc3796a..7e06ba1618bd73168226a4a299895778e4a00065 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * irq.c: API for in kernel interrupt controller
  * Copyright (c) 2007, Intel Corporation.
- * Copyright 2009 Red Hat, Inc. and/or its affilates.
+ * Copyright 2009 Red Hat, Inc. and/or its affiliates.
  *
  * This program is free software; you can redistribute it and/or modify it
  * under the terms and conditions of the GNU General Public License,
  */
 int kvm_cpu_has_pending_timer(struct kvm_vcpu *vcpu)
 {
-       int ret;
-
-       ret = pit_has_pending_timer(vcpu);
-       ret |= apic_has_pending_timer(vcpu);
-
-       return ret;
+       return apic_has_pending_timer(vcpu);
 }
 EXPORT_SYMBOL(kvm_cpu_has_pending_timer);