From: Michael Ellerman Date: Thu, 22 Mar 2007 10:51:34 +0000 (+1100) Subject: MSI: Consolidate BUG_ON()s. X-Git-Tag: v2.6.22-rc1~1039^2~40 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7ede9c1fa50e01a8222217d4606bcbc44cd68f1a;p=pandora-kernel.git MSI: Consolidate BUG_ON()s. When freeing MSIs and MSI-Xs, we BUG_ON() if the irq has not been freed, ie. if it still has an action. We can consolidate all of these BUG_ON()s into msi_free_irqs() as all the code paths lead there almost immediately anyway. Signed-off-by: Michael Ellerman Acked-by: Eric W. Biederman Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed