commit | 866a8c87c4e51046602387953bbef76992107bcb | [log] [tgz] |
---|---|---|
author | Eric W. Biederman <ebiederm@xmission.com> | Sun Jan 28 12:45:54 2007 -0700 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Wed Feb 07 15:50:07 2007 -0800 |
tree | f04eb2c39b7d3b44f2d10dc3b8dc0181be2954fc | |
parent | d40f540ce6d992d4123827dbd62f68c4a39c53d0 [diff] |
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 <ebiederm@xmission.com> Acked-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>