2010-07-08 07:18:07

by Javier Martinez Canillas

[permalink] [raw]
Subject: [tip:x86/apic] x86/apic/es7000_32: Remove unused variable

Commit-ID: 5bbd4a336c81d32df71642abf310cf3d0c98dc9b
Gitweb: http://git.kernel.org/tip/5bbd4a336c81d32df71642abf310cf3d0c98dc9b
Author: Javier Martinez Canillas <[email protected]>
AuthorDate: Wed, 7 Jul 2010 19:51:59 -0400
Committer: Ingo Molnar <[email protected]>
CommitDate: Thu, 8 Jul 2010 09:14:37 +0200

x86/apic/es7000_32: Remove unused variable

In today's linux-next I got this compile warning:

arch/x86/kernel/apic/es7000_32.c:132: warning: 'base' defined but not used

Current patch solves the issue removing the unused variable.

Signed-off-by: Javier Martinez Canillas <[email protected]>
Cc: Rakib Mullick <[email protected]>
Cc: Eric W. Biederman <[email protected]>
Cc: Cyrill Gorcunov <[email protected]>
Cc: Tejun Heo <[email protected]>
LKML-Reference: <1278546719.9020.4.camel@lenovo>
Signed-off-by: Ingo Molnar <[email protected]>
---
arch/x86/kernel/apic/es7000_32.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/arch/x86/kernel/apic/es7000_32.c b/arch/x86/kernel/apic/es7000_32.c
index 425e53a..8593582 100644
--- a/arch/x86/kernel/apic/es7000_32.c
+++ b/arch/x86/kernel/apic/es7000_32.c
@@ -129,7 +129,6 @@ int es7000_plat;
* GSI override for ES7000 platforms.
*/

-static unsigned int base;

static int __cpuinit wakeup_secondary_cpu_via_mip(int cpu, unsigned long eip)
{