diff options
author | Michael Ellerman <michael@ellerman.id.au> | 2007-03-22 21:51:34 +1100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-05-02 19:02:36 -0700 |
commit | 7ede9c1fa50e01a8222217d4606bcbc44cd68f1a (patch) | |
tree | 0884562e9952ebcdad81a27539a3a0046f716a7c /kernel | |
parent | fc4afc7b2bdd81e2dbded5a8222676d3161758d3 (diff) |
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 <michael@ellerman.id.au>
Acked-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions