]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb2b53e29c72e0fa3b282584ad92548c9447b0027
tree958b49ca0af3c6616916bd99fa591e36fb3b7c8c
parent9b85a57b491fb6b960bfd0a76e62ed4396892629
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