diff options
Diffstat (limited to 'drivers/scsi/megaraid/megaraid_sas_fusion.c')
-rw-r--r-- | drivers/scsi/megaraid/megaraid_sas_fusion.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/scsi/megaraid/megaraid_sas_fusion.c b/drivers/scsi/megaraid/megaraid_sas_fusion.c index bfd87fab39aa..a610cf1d4847 100644 --- a/drivers/scsi/megaraid/megaraid_sas_fusion.c +++ b/drivers/scsi/megaraid/megaraid_sas_fusion.c | |||
@@ -634,9 +634,7 @@ megasas_ioc_init_fusion(struct megasas_instance *instance) | |||
634 | fusion->reply_frames_desc_phys; | 634 | fusion->reply_frames_desc_phys; |
635 | IOCInitMessage->SystemRequestFrameBaseAddress = | 635 | IOCInitMessage->SystemRequestFrameBaseAddress = |
636 | fusion->io_request_frames_phys; | 636 | fusion->io_request_frames_phys; |
637 | /* Set to 0 for none or 1 MSI-X vectors */ | 637 | IOCInitMessage->HostMSIxVectors = instance->msix_vectors; |
638 | IOCInitMessage->HostMSIxVectors = (instance->msix_vectors > 0 ? | ||
639 | instance->msix_vectors : 0); | ||
640 | init_frame = (struct megasas_init_frame *)cmd->frame; | 638 | init_frame = (struct megasas_init_frame *)cmd->frame; |
641 | memset(init_frame, 0, MEGAMFI_FRAME_SIZE); | 639 | memset(init_frame, 0, MEGAMFI_FRAME_SIZE); |
642 | 640 | ||