From: Michael Ellerman Date: Thu, 22 Mar 2007 10:51:33 +0000 (+1100) Subject: MSI: Consolidate MSI-X irq freeing code X-Git-Tag: v2.6.22-rc1~1039^2~41 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fc4afc7b2bdd81e2dbded5a8222676d3161758d3;p=pandora-kernel.git 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 Acked-by: Eric W. Biederman Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed