From: Eric W. Biederman Date: Sun, 28 Jan 2007 19:45:54 +0000 (-0700) Subject: msi: Fix msi_remove_pci_irq_vectors. X-Git-Tag: v2.6.21-rc1~92^2~28^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=866a8c87c4e51046602387953bbef76992107bcb;p=pandora-kernel.git msi: Fix msi_remove_pci_irq_vectors. Since msi_remove_pci_irq_vectors is designed to be called during hotplug remove it is actively wrong to query the hardware and expect meaningful results back. To that end remove the pci_find_capability calls. Testing dev->msi_enabled and dev->msix_enabled gives us all of the information we need. Signed-off-by: Eric W. Biederman Acked-by: Ingo Molnar Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed