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)
commit00ba16ab2658afe11d4fdcaf16a331292c44bee6
tree763d31188d443026071ccce1a83918efc4bf830d
parentc31af3987020eeb1facf64d702dcf39e6c7382e6
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