Skip to content

Commit 45ffac1

Browse files
Christoph Hellwigmartinkpetersen
authored andcommitted
scsi: lpfc: use pci_irq_alloc_vectors and pci_irq_free_vectors
This avoids having to store the msix_entries array and simpliefies the shutdown and cleanup path a lot. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: James Smart <james.smart@broadcom.com> Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de> Reviewed-by: Hannes Reinecke <hare@suse.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
1 parent 8ea73db commit 45ffac1

File tree

3 files changed

+54
-189
lines changed

3 files changed

+54
-189
lines changed

drivers/scsi/lpfc/lpfc.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -878,8 +878,6 @@ struct lpfc_hba {
878878
enum intr_type_t intr_type;
879879
uint32_t intr_mode;
880880
#define LPFC_INTR_ERROR 0xFFFFFFFF
881-
struct msix_entry msix_entries[LPFC_MSIX_VECTORS];
882-
883881
struct list_head port_list;
884882
struct lpfc_vport *pport; /* physical lpfc_vport pointer */
885883
uint16_t max_vpi; /* Maximum virtual nports */

0 commit comments

Comments
 (0)