lpfc: mark function as static in lpfc/lpfc_bsg.c
authorRashika Kheria <[email protected]>
Wed, 3 Sep 2014 16:55:46 +0000 (12:55 -0400)
committerChristoph Hellwig <[email protected]>
Tue, 16 Sep 2014 16:10:05 +0000 (09:10 -0700)
[PATCH 26/55] scsi: Mark function as static in lpfc/lpfc_bsg.c

Mark function as static in lpfc/lpfc_bsg.c because it is not used
outside this file.

This eliminates the following warning in lpfc/lpfc_bsg.c:
drivers/scsi/lpfc/lpfc_bsg.c:3348:1: warning: no previous prototype for ‘lpfc_bsg_issue_mbox_cmpl’ [-Wmissing-prototypes]

Signed-off-by: Rashika Kheria <[email protected]>
Reviewed-by: Josh Triplett <[email protected]>
Reviewed-by: James Smart <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
drivers/scsi/lpfc/lpfc_bsg.c

index 5b5c825d95767751295b06928c2440d8257ae1d1..371474bec5a5db0ffff2d710d59e25557fae2ab0 100644 (file)
@@ -3344,7 +3344,7 @@ job_error:
  * will wake up thread waiting on the wait queue pointed by context1
  * of the mailbox.
  **/
-void
+static void
 lpfc_bsg_issue_mbox_cmpl(struct lpfc_hba *phba, LPFC_MBOXQ_t *pmboxq)
 {
        struct bsg_job_data *dd_data;