On 4/5/2019 9:14 AM, Bart Van Assche wrote:
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@xxxxxxxxxxxx> Signed-off-by: Bart Van Assche <bvanassche@xxxxxxx>
Reviewed-by: James Smart <james.smart@xxxxxxxxxxxx> -- james