MSI: Simplify BUG() handling in pci_disable_msix()
authorMichael Ellerman <michael@ellerman.id.au>
Thu, 22 Mar 2007 10:51:27 +0000 (21:51 +1100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 3 May 2007 02:02:36 +0000 (19:02 -0700)
commit54bc6c0b0edd164fc2ea85b3964736c182f6bd5d
tree958b49ca0af3c6616916bd99fa591e36fb3b7c8c
parente387b9eefe89a23245f2446f947529cce5d6db35
MSI: Simplify BUG() handling in pci_disable_msix()

Although it might be nice to do a printk before BUG'ing, it's really not
necessary, and it complicates the code.

The behaviour has changed slightly, in that before we set a flag if the irq
had an action, and continued freeing the other irqs. But as I see it that's
all irrelevant because we end up BUG'ing anyway.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Acked-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/pci/msi.c