linux-next: build warning after merge of the scsi tree

From: Stephen Rothwell
Date: Thu Apr 04 2019 - 23:25:53 EST


Hi James,

After merging the scsi tree, today's linux-next build (powerpc
ppc64_defconfig) produced this warning:

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,
^~~~~~~~~~~~~~~~~~~~~~~~~~

Introduced by commit

3999df75bccb ("scsi: lpfc: Declare local functions static")

It use is guarded by IS_ENABLED(CONFIG_NVME_FC).

--
Cheers,
Stephen Rothwell

Attachment: pgpl0ZmXOxb_1.pgp
Description: OpenPGP digital signature