From: Rashika Kheria Date: Wed, 3 Sep 2014 16:55:46 +0000 (-0400) Subject: lpfc: mark function as static in lpfc/lpfc_bsg.c X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=9ab9b134a86ed9f897a29d2ba5abb93f7b162dca;p=sagit-ice-cold%2Fkernel_xiaomi_msm8998.git lpfc: mark function as static in lpfc/lpfc_bsg.c [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 Reviewed-by: Josh Triplett Reviewed-by: James Smart Signed-off-by: Christoph Hellwig --- diff --git a/drivers/scsi/lpfc/lpfc_bsg.c b/drivers/scsi/lpfc/lpfc_bsg.c index 5b5c825d9576..371474bec5a5 100644 --- a/drivers/scsi/lpfc/lpfc_bsg.c +++ b/drivers/scsi/lpfc/lpfc_bsg.c @@ -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;