2006-01-06 19:21:36

by Adrian Bunk

[permalink] [raw]
Subject: [2.6 patch] 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.


Signed-off-by: Adrian Bunk <[email protected]>

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


2006-01-06 19:54:57

by James Smart

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

ACK - fine :)

-- james

Adrian Bunk wrote:
> This patch makes the needlessly global function lpfc_sli_get_scsi_buf()
> static.
>
>
> Signed-off-by: Adrian Bunk <[email protected]>
>
> --- 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;
>
>