]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: lpfc: make a couple of functions static
authorColin Ian King <colin.king@canonical.com>
Thu, 18 May 2017 09:35:24 +0000 (10:35 +0100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 13 Jun 2017 01:04:42 +0000 (21:04 -0400)
commitc4103c3e8e2734da5b96c67076590c18185ab879
tree4698ccd71b45085d077330973e3ae4fe0e04e2be
parent2463a4eae5c44cb16dfab01d4ac375aba06acfd5
scsi: lpfc: make a couple of functions static

functions lpfc_nvmet_cleanup_io_context and lpfc_nvmet_setup_io_context
can be made static as they do not need to be in global scope.

Cleans up sparse warnings:
  "warning: symbol 'lpfc_nvmet_cleanup_io_context' was not declared.
   Should it be static?"
  "warning: symbol 'lpfc_nvmet_setup_io_context' was not declared.
   Should it be static?"

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Acked-by: James Smart <james.smart@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/lpfc/lpfc_nvmet.c