[-mm patch] drivers/message/fusion/mptsas.c: make 2 functions static

Adrian Bunk
2006-06-29T19:21:42Z

On Thu, Jun 29, 2006 at 01:36:43AM -0700, Andrew Morton wrote:
>...
> Changes since 2.6.17-mm3:
>...
> git-scsi-misc.patch
>...
> git trees.
>...

This patch makes two needlessly global functions static.

Signed-off-by: Adrian Bunk <bunk@stusta.de>

---

drivers/message/fusion/mptsas.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

--- linux-2.6.17-mm4-full/drivers/message/fusion/mptsas.c.old 2006-06-29 14:54:36.000000000 +0200
+++ linux-2.6.17-mm4-full/drivers/message/fusion/mptsas.c 2006-06-29 14:54:51.000000000 +0200
@@ -337,7 +337,7 @@
}

/* no mutex */
-void
+static void
mptsas_port_delete(struct mptsas_portinfo_details * port_details)
{
struct mptsas_portinfo *port_info;
@@ -438,7 +438,7 @@
* Updates for new and existing narrow/wide port configuration
* in the sas_topology
*/
-void
+static void
mptsas_setup_wide_ports(MPT_ADAPTER *ioc, struct mptsas_portinfo *port_info)
{
struct mptsas_portinfo_details * port_details;