x86, apb_timer: remove unused variable percpu_timer
Signed-off-by: Sasha Levin <sasha.levin@oracle.com> Link: http://lkml.kernel.org/r/1356030701-16284-28-git-send-email-sasha.levin@oracle.com Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
This commit is contained in:
Родитель
7be0b06520
Коммит
8f170faeb4
|
@ -311,7 +311,6 @@ void __init apbt_time_init(void)
|
||||||
#ifdef CONFIG_SMP
|
#ifdef CONFIG_SMP
|
||||||
int i;
|
int i;
|
||||||
struct sfi_timer_table_entry *p_mtmr;
|
struct sfi_timer_table_entry *p_mtmr;
|
||||||
unsigned int percpu_timer;
|
|
||||||
struct apbt_dev *adev;
|
struct apbt_dev *adev;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -346,13 +345,10 @@ void __init apbt_time_init(void)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
pr_debug("%s: %d CPUs online\n", __func__, num_online_cpus());
|
pr_debug("%s: %d CPUs online\n", __func__, num_online_cpus());
|
||||||
if (num_possible_cpus() <= sfi_mtimer_num) {
|
if (num_possible_cpus() <= sfi_mtimer_num)
|
||||||
percpu_timer = 1;
|
|
||||||
apbt_num_timers_used = num_possible_cpus();
|
apbt_num_timers_used = num_possible_cpus();
|
||||||
} else {
|
else
|
||||||
percpu_timer = 0;
|
|
||||||
apbt_num_timers_used = 1;
|
apbt_num_timers_used = 1;
|
||||||
}
|
|
||||||
pr_debug("%s: %d APB timers used\n", __func__, apbt_num_timers_used);
|
pr_debug("%s: %d APB timers used\n", __func__, apbt_num_timers_used);
|
||||||
|
|
||||||
/* here we set up per CPU timer data structure */
|
/* here we set up per CPU timer data structure */
|
||||||
|
|
Загрузка…
Ссылка в новой задаче