Remove unused mce_init argument.
[ Impact: cleanup ]
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Hidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
return 0;
}
-static void mce_init(void *dummy)
+static void mce_init(void)
{
mce_banks_t all_banks;
u64 cap;
machine_check_vector = do_machine_check;
- mce_init(NULL);
+ mce_init();
mce_cpu_features(c);
mce_init_timer();
}
*/
static int mce_resume(struct sys_device *dev)
{
- mce_init(NULL);
+ mce_init();
mce_cpu_features(¤t_cpu_data);
return 0;
{
del_timer_sync(&__get_cpu_var(mce_timer));
if (mce_available(¤t_cpu_data))
- mce_init(NULL);
+ mce_init();
mce_init_timer();
}