* Re: [PATCH] bnxfc:Make the function bnx2fc_alloc_work static
[not found] <1435090966-31918-1-git-send-email-xerofoify@gmail.com>
@ 2015-06-25 17:38 ` Chad Dupuis
0 siblings, 0 replies; only message in thread
From: Chad Dupuis @ 2015-06-25 17:38 UTC (permalink / raw)
To: Nicholas Krause
Cc: QLogic-Storage-Upstream, JBottomley, linux-scsi, linux-kernel
Make sense.
Acked-by: Chad Dupuis <chad.dupuis@qlogic.com>
On Tue, 23 Jun 2015, Nicholas Krause wrote:
> This makes the function bnx_2fc_alloc_work static now due
> to this function's only caller being in this particular
> function's definition/declaration file of bnx2fc_hwi.c.
>
> Signed-off-by: Nicholas Krause <xerofoify@gmail.com>
> ---
> drivers/scsi/bnx2fc/bnx2fc_hwi.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/scsi/bnx2fc/bnx2fc_hwi.c b/drivers/scsi/bnx2fc/bnx2fc_hwi.c
> index c6688d7..15eef07 100644
> --- a/drivers/scsi/bnx2fc/bnx2fc_hwi.c
> +++ b/drivers/scsi/bnx2fc/bnx2fc_hwi.c
> @@ -994,7 +994,7 @@ void bnx2fc_arm_cq(struct bnx2fc_rport *tgt)
>
> }
>
> -struct bnx2fc_work *bnx2fc_alloc_work(struct bnx2fc_rport *tgt, u16 wqe)
> +static struct bnx2fc_work *bnx2fc_alloc_work(struct bnx2fc_rport *tgt, u16 wqe)
> {
> struct bnx2fc_work *work;
> work = kzalloc(sizeof(struct bnx2fc_work), GFP_ATOMIC);
>
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2015-06-25 17:39 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <1435090966-31918-1-git-send-email-xerofoify@gmail.com>
2015-06-25 17:38 ` [PATCH] bnxfc:Make the function bnx2fc_alloc_work static Chad Dupuis
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®