From: Adrian Bunk This patch contains the following cleanups: - make some needlessly global functions static - #if 0 the unused es7000_stop_cpu() Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton --- arch/i386/mach-es7000/es7000plat.c | 12 +++++++----- 1 files changed, 7 insertions(+), 5 deletions(-) diff -puN arch/i386/mach-es7000/es7000plat.c~arch-i386-mach-es7000-es7000platc-cleanups arch/i386/mach-es7000/es7000plat.c --- a/arch/i386/mach-es7000/es7000plat.c~arch-i386-mach-es7000-es7000platc-cleanups +++ a/arch/i386/mach-es7000/es7000plat.c @@ -46,11 +46,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. @@ -288,6 +288,7 @@ es7000_start_cpu(int cpu, unsigned long } +#if 0 int es7000_stop_cpu(int cpu) { @@ -307,6 +308,7 @@ es7000_stop_cpu(int cpu) return 0; } +#endif /* 0 */ void __init es7000_sw_apic() _