Skip to contentSkip to conversation

arch/i386/mach-es7000/es7000plat.c: cleanups

PATCH New Adrian Bunk 1 participant 1 message Jul 29, 2007

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arch/i386/mach-es7000/es7000plat.c: cleanups

This patch contains the following cleanups:
- make some needlessly global functions static
- #if 0 the unused es7000_stop_cpu()

---

This patch has been sent on:
- 6 Jul 2007

 arch/i386/mach-es7000/es7000plat.c |   12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)
arch/i386/mach-es7000/es7000plat.c renamed from arch/i386/mach-es7000/es7000plat.c.old +7 -5
@@ -45,11 +45,11 @@
  * ES7000 Globals
  */
 
-volatile unsigned long	*psai = NULL;
-struct mip_reg		*mip_reg;
-struct mip_reg		*host_reg;
-int 			mip_port;
-unsigned long		mip_addr, host_addr;
+static volatile unsigned long	*psai = NULL;
+static struct mip_reg		*mip_reg;
+static struct mip_reg		*host_reg;
+static int 			mip_port;
+static unsigned long		mip_addr, host_addr;
 
 /*
  * GSI override for ES7000 platforms.
@@ -240,6 +240,7 @@
 
 }
 
+#if 0
 int
 es7000_stop_cpu(int cpu)
 {
@@ -259,6 +260,7 @@
 	return 0;
 
 }
+#endif  /*  0  */
 
 void __init
 es7000_sw_apic()