[2.6 patch] drivers/scsi/lpfc/lpfc_scsi.c: make lpfc_get_scsi_buf() static

Adrian Bunk
2006-01-14T02:10:06Z

This patch makes the needlessly global function lpfc_sli_get_scsi_buf()
static.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Acked-by: James Smart <James.Smart@Emulex.Com>

---

This patch was already sent on:
- 6 Jan 2006

--- linux-2.6.15-mm1-full/drivers/scsi/lpfc/lpfc_scsi.c.old 2006-01-06 19:50:38.000000000 +0100
+++ linux-2.6.15-mm1-full/drivers/scsi/lpfc/lpfc_scsi.c 2006-01-06 19:50:46.000000000 +0100
@@ -150,7 +150,7 @@
return psb;
}

-struct lpfc_scsi_buf*
+static struct lpfc_scsi_buf*
lpfc_get_scsi_buf(struct lpfc_hba * phba)
{
struct lpfc_scsi_buf * lpfc_cmd = NULL;