Skip to contentSkip to conversation

drivers/scsi/lpfc/lpfc_scsi.c: make lpfc_get_scsi_buf() static

PATCH In review Adrian Bunk 2 participants 2 messages Jan 6, 2006

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drivers/scsi/lpfc/lpfc_scsi.c: make lpfc_get_scsi_buf() static

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

drivers/scsi/lpfc/lpfc_scsi.c renamed from drivers/scsi/lpfc/lpfc_scsi.c.old +1 -1
@@ -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;
#1 lore raw

ACK - fine :)

-- james

Quoted 19 lines · Adrian Bunk

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

drivers/scsi/lpfc/lpfc_scsi.c renamed from drivers/scsi/lpfc/lpfc_scsi.c.old +1 -1
@@ -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;