xhci: switch to pci_alloc_irq_vectors
Use the modern API to request MSI or MSI-X interrupts, which allows us to get rid of the msix_entries array, as well as cleaning up the cleanup code. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:

committed by
Greg Kroah-Hartman

parent
435cc1138e
commit
77d45b4500
@@ -1724,7 +1724,6 @@ struct xhci_hcd {
|
||||
int page_shift;
|
||||
/* msi-x vectors */
|
||||
int msix_count;
|
||||
struct msix_entry *msix_entries;
|
||||
/* optional clock */
|
||||
struct clk *clk;
|
||||
/* data structures */
|
||||
|
Reference in New Issue
Block a user