diff options
author | Bart Van Assche <bvanassche@acm.org> | 2019-03-28 21:06:16 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2019-04-04 06:11:35 +0300 |
commit | 3999df75bccb54722a3bbb5e2b1fa9a2af76c637 (patch) | |
tree | 19f451ce73a9c9ca9a5bbef96817d041376a768c /drivers/scsi/lpfc/lpfc_nvmet.c | |
parent | 94e424c6b6a002673ac82cb6926ab6bfd9a3ccbb (diff) | |
download | linux-3999df75bccb54722a3bbb5e2b1fa9a2af76c637.tar.xz |
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_nvmet.c')
-rw-r--r-- | drivers/scsi/lpfc/lpfc_nvmet.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/lpfc/lpfc_nvmet.c b/drivers/scsi/lpfc/lpfc_nvmet.c index e60cea00b9b3..974b45c6fc66 100644 --- a/drivers/scsi/lpfc/lpfc_nvmet.c +++ b/drivers/scsi/lpfc/lpfc_nvmet.c @@ -220,7 +220,7 @@ lpfc_nvmet_cmd_template(void) /* Word 12, 13, 14, 15 - is zero */ } -void +static void lpfc_nvmet_defer_release(struct lpfc_hba *phba, struct lpfc_nvmet_rcv_ctx *ctxp) { lockdep_assert_held(&ctxp->ctxlock); |