diff options
author | Christoph Hellwig <hch@lst.de> | 2017-02-15 10:18:43 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2017-02-23 15:11:02 +0300 |
commit | 15c0b9edcc41fe8fddcd07d6b58ee15e6554d17e (patch) | |
tree | f5ba8165be0802d5464be110018f04254cb68078 /drivers/crypto/cavium/cpt/cptvf.h | |
parent | 613844e811a87ddbc646bd30e724c34472540296 (diff) | |
download | linux-15c0b9edcc41fe8fddcd07d6b58ee15e6554d17e.tar.xz |
crypto: cavium - switch to pci_alloc_irq_vectors
pci_enable_msix has been long deprecated, but this driver adds a new
instance. Convert it to pci_alloc_irq_vectors and greatly simplify
the code, and make sure the prope code properly unwinds.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/cavium/cpt/cptvf.h')
-rw-r--r-- | drivers/crypto/cavium/cpt/cptvf.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/crypto/cavium/cpt/cptvf.h b/drivers/crypto/cavium/cpt/cptvf.h index 1cc04aa611e4..0a835a07d4f2 100644 --- a/drivers/crypto/cavium/cpt/cptvf.h +++ b/drivers/crypto/cavium/cpt/cptvf.h @@ -107,9 +107,6 @@ struct cpt_vf { void __iomem *reg_base; /* Register start address */ void *wqe_info; /* BH worker info */ /* MSI-X */ - bool msix_enabled; - struct msix_entry msix_entries[CPT_VF_MSIX_VECTORS]; - bool irq_allocated[CPT_VF_MSIX_VECTORS]; cpumask_var_t affinity_mask[CPT_VF_MSIX_VECTORS]; /* Command and Pending queues */ u32 qsize; |