]> git.baikalelectronics.ru Git - kernel.git/commit
MSI: Simplify BUG() handling in msi_remove_pci_irq_vectors() part 2
authorMichael Ellerman <michael@ellerman.id.au>
Thu, 22 Mar 2007 10:51:31 +0000 (21:51 +1100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 3 May 2007 02:02:36 +0000 (19:02 -0700)
commit028b4e141b5eddcb162af219fc0a0dd9c57f6389
tree763d31188d443026071ccce1a83918efc4bf830d
parent6c01149a77c1dac27e2c633a46104957246c7983
MSI: Simplify BUG() handling in msi_remove_pci_irq_vectors() part 2

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