Commit db7d6fbc authored by Paolo Bonzini's avatar Paolo Bonzini

KVM: remove unnecessary #ifdef

KVM_CAP_IRQ_ROUTING is always defined, so there is no need to check if it is.
Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent 6bda055d
...@@ -918,8 +918,6 @@ struct kvm_enable_cap { ...@@ -918,8 +918,6 @@ struct kvm_enable_cap {
#define KVM_CAP_GUEST_MEMFD 234 #define KVM_CAP_GUEST_MEMFD 234
#define KVM_CAP_VM_TYPES 235 #define KVM_CAP_VM_TYPES 235
#ifdef KVM_CAP_IRQ_ROUTING
struct kvm_irq_routing_irqchip { struct kvm_irq_routing_irqchip {
__u32 irqchip; __u32 irqchip;
__u32 pin; __u32 pin;
...@@ -984,8 +982,6 @@ struct kvm_irq_routing { ...@@ -984,8 +982,6 @@ struct kvm_irq_routing {
struct kvm_irq_routing_entry entries[]; struct kvm_irq_routing_entry entries[];
}; };
#endif
#define KVM_IRQFD_FLAG_DEASSIGN (1 << 0) #define KVM_IRQFD_FLAG_DEASSIGN (1 << 0)
/* /*
* Available with KVM_CAP_IRQFD_RESAMPLE * Available with KVM_CAP_IRQFD_RESAMPLE
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment