[PATCH 09/31] x86: MCE: Remove mce_init unused argument

Andi Kleen
2009-05-26T23:57:42Z

From: Thomas Gleixner <tglx@linutronix.de>

Impact: Cleanup

Remove unused mce_init argument.

Signed-off-by: Andi Kleen <ak@linux.intel.com>
---
arch/x86/kernel/cpu/mcheck/mce.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/arch/x86/kernel/cpu/mcheck/mce.c b/arch/x86/kernel/cpu/mcheck/mce.c
index 925b222..2e3ceed 100644
--- a/arch/x86/kernel/cpu/mcheck/mce.c
+++ b/arch/x86/kernel/cpu/mcheck/mce.c
@@ -649,7 +649,7 @@ static int mce_cap_init(void)
return 0;
}

-static void mce_init(void *dummy)
+static void mce_init(void)
{
mce_banks_t all_banks;
u64 cap;
@@ -782,7 +782,7 @@ void __cpuinit mcheck_init(struct cpuinfo_x86 *c)

machine_check_vector = do_machine_check;

- mce_init(NULL);
+ mce_init();
mce_cpu_features(c);
mce_init_timer();
}
@@ -1025,7 +1025,7 @@ static int mce_shutdown(struct sys_device *dev)
*/
static int mce_resume(struct sys_device *dev)
{
- mce_init(NULL);
+ mce_init();
mce_cpu_features(&current_cpu_data);

return 0;
@@ -1035,7 +1035,7 @@ static void mce_cpu_restart(void *data)
{
del_timer_sync(&__get_cpu_var(mce_timer));
if (mce_available(&current_cpu_data))
- mce_init(NULL);
+ mce_init();
mce_init_timer();
}

--
1.6.0.2