summaryrefslogtreecommitdiff
path: root/drivers/virtio/virtio_pci_common.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2016-11-17 13:43:13 +0300
committerMichael S. Tsirkin <mst@redhat.com>2016-12-16 01:12:47 +0300
commitfa3a3279354e5f7a13ec16f2c9f5e39124745332 (patch)
treec8d1016ed45ca19a7836ec59e27158b0453c2ef1 /drivers/virtio/virtio_pci_common.h
parentd41795978c47fa87b6514a0f2238958b7e8319a0 (diff)
downloadlinux-fa3a3279354e5f7a13ec16f2c9f5e39124745332.tar.xz
virtio_pci: use pci_alloc_irq_vectors
This avoids the separate allocation for the msix_entries structures, and instead allows us to use pci_irq_vector to find a given IRQ vector. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'drivers/virtio/virtio_pci_common.h')
-rw-r--r--drivers/virtio/virtio_pci_common.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/virtio/virtio_pci_common.h b/drivers/virtio/virtio_pci_common.h
index 28263200ed42..b2f666250ae0 100644
--- a/drivers/virtio/virtio_pci_common.h
+++ b/drivers/virtio/virtio_pci_common.h
@@ -85,7 +85,6 @@ struct virtio_pci_device {
/* MSI-X support */
int msix_enabled;
int intx_enabled;
- struct msix_entry *msix_entries;
cpumask_var_t *msix_affinity_masks;
/* Name strings for interrupts. This size should be enough,
* and I'm too lazy to allocate each name separately. */