MSI: Consolidate BUG_ON()s.
A message that is not in the archive (sent off-list or not yet received): [email protected]
Eric W. Biederman
Acked-byQuoted 4 lines · Michael Ellerman
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 intomsi_free_irqs()as all the code paths lead there almost immediately anyway.