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

From: Andi Kleen
Date: Tue May 26 2009 - 19:57:46 EST


From: Thomas Gleixner <tglx@xxxxxxxxxxxxx>

Impact: Cleanup

Remove unused mce_init argument.

Signed-off-by: Andi Kleen <ak@xxxxxxxxxxxxxxx>
---
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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/