summaryrefslogtreecommitdiff
path: root/drivers/scsi/lpfc/lpfc_nvme.c
diff options
context:
space:
mode:
authorBart Van Assche <bvanassche@acm.org>2019-03-28 11:06:16 -0700
committerMartin K. Petersen <martin.petersen@oracle.com>2019-04-03 23:11:35 -0400
commit3999df75bccb54722a3bbb5e2b1fa9a2af76c637 (patch)
tree19f451ce73a9c9ca9a5bbef96817d041376a768c /drivers/scsi/lpfc/lpfc_nvme.c
parent94e424c6b6a002673ac82cb6926ab6bfd9a3ccbb (diff)
downloadlwn-3999df75bccb54722a3bbb5e2b1fa9a2af76c637.tar.gz
lwn-3999df75bccb54722a3bbb5e2b1fa9a2af76c637.zip
scsi: lpfc: Declare local functions static
This patch avoids that the compiler complains about missing declarations when building with W=1. 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>
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_nvme.c')
-rw-r--r--drivers/scsi/lpfc/lpfc_nvme.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/lpfc/lpfc_nvme.c b/drivers/scsi/lpfc/lpfc_nvme.c
index b476394b5da9..7ffe5a01538a 100644
--- a/drivers/scsi/lpfc/lpfc_nvme.c
+++ b/drivers/scsi/lpfc/lpfc_nvme.c
@@ -312,7 +312,7 @@ lpfc_nvme_localport_delete(struct nvme_fc_local_port *localport)
* Return value :
* None
*/
-void
+static void
lpfc_nvme_remoteport_delete(struct nvme_fc_remote_port *remoteport)
{
struct lpfc_nvme_rport *rport = remoteport->private;
@@ -2135,7 +2135,7 @@ lpfc_nvme_create_localport(struct lpfc_vport *vport)
* An uninterruptible wait is used because of the risk of transport-to-
* driver state mismatch.
*/
-void
+static void
lpfc_nvme_lport_unreg_wait(struct lpfc_vport *vport,
struct lpfc_nvme_lport *lport,
struct completion *lport_unreg_cmp)