diff options
author | Michael Ellerman <michael@ellerman.id.au> | 2007-03-22 21:51:33 +1100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-05-02 19:02:36 -0700 |
commit | fc4afc7b2bdd81e2dbded5a8222676d3161758d3 (patch) | |
tree | f746cc18be366058a764e6cc3c3625efbfbb5765 /fs | |
parent | 00ba16ab2658afe11d4fdcaf16a331292c44bee6 (diff) |
MSI: Consolidate MSI-X irq freeing code
For the MSI-X case we do exactly the same logic in pci_disable_msix() and
msi_remove_pci_irq_vectors(), so consolidate them.
msi_remove_pci_irq_vectors() wasn't setting dev->first_msi_irq to 0, but
I think it should have been, so the consolidated version does.
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 'fs')
0 files changed, 0 insertions, 0 deletions