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

From: James Smart
Date: Fri Jan 06 2006 - 14:53:44 EST


ACK - fine :)

-- james

Adrian Bunk wrote:
This patch makes the needlessly global function lpfc_sli_get_scsi_buf()
static.


Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>

--- 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;


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/