KVM: remove the IRQ ACK notifier assertions
authorMark McLoughlin <markmc@redhat.com>
Mon, 1 Dec 2008 13:57:45 +0000 (13:57 +0000)
committerAvi Kivity <avi@redhat.com>
Wed, 31 Dec 2008 14:55:06 +0000 (16:55 +0200)
commit844c7a9ff404d8fc88bb77b06461644621d2c985
treebfcb1fb36c1276f8adead47dedaaf12b92f62821
parentefff9e538f6bfa8ee2ca03f7e9a55d98df115186
KVM: remove the IRQ ACK notifier assertions

We will obviously never pass a NULL struct kvm_irq_ack_notifier* to
this functions. They are always embedded in the assigned device
structure, so the assertion add nothing.

The irqchip_in_kernel() assertion is very out of place - clearly
this little abstraction needs to know nothing about the upper
layer details.

Signed-off-by: Mark McLoughlin <markmc@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
virt/kvm/irq_comm.c