scsi: lpfc: Fix a recently introduced compiler warning
authorBart Van Assche <bvanassche@acm.org>
Fri, 5 Apr 2019 16:14:10 +0000 (09:14 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 9 Apr 2019 01:26:11 +0000 (21:26 -0400)
commitd964b3e5343851fc6e7d8272d643007a29788139
tree3e76a3fdc9b03e24c3a35639856ad3673fc419d0
parent25ea6b19db54a76879e388ff4dfd67be48890f0d
scsi: lpfc: Fix a recently introduced compiler warning

This patch avoids that the following compiler warning is reported with
CONFIG_NVME_FC=n:

drivers/scsi/lpfc/lpfc_nvme.c:2140:1: warning: 'lpfc_nvme_lport_unreg_wait' defined but not used [-Wunused-function]
 lpfc_nvme_lport_unreg_wait(struct lpfc_vport *vport,
 ^~~~~~~~~~~~~~~~~~~~~~~~~~

Fixes: 3999df75bccb ("scsi: lpfc: Declare local functions static")
Cc: James Smart <james.smart@broadcom.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Acked-by: James Smart <james.smart@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/lpfc/lpfc_nvme.c