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.sm...@broadcom.com>
Signed-off-by: Bart Van Assche <bvanass...@acm.org>


Reviewed-by:  James Smart   <james.sm...@broadcom.com>

-- james

Reply via email to