2007-02-20 00:08:09

by Adrian Bunk

[permalink] [raw]
Subject: [2.6 patch] make mptspi_target_destroy() static

This patch makes the needlessly global mptspi_target_destroy() static.

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

--- linux-2.6.20-mm1/drivers/message/fusion/mptspi.c.old 2007-02-18 01:01:26.000000000 +0100
+++ linux-2.6.20-mm1/drivers/message/fusion/mptspi.c 2007-02-18 01:02:04.000000000 +0100
@@ -446,7 +446,7 @@
return 0;
}

-void
+static void
mptspi_target_destroy(struct scsi_target *starget)
{
if (starget->hostdata)


2007-02-20 21:08:05

by Moore, Eric

[permalink] [raw]
Subject: RE: [2.6 patch] make mptspi_target_destroy() static

On Monday, February 19, 2007 5:07 PM, Adrian Bunk wrote:

> This patch makes the needlessly global mptspi_target_destroy() static.
>
> Signed-off-by: Adrian Bunk <[email protected]>
>

ACK