提交 2b261f9f 编写于 作者: R Rickard Strandqvist 提交者: Ingo Molnar

x86/platform: Remove unused function from apb_timer.c

Remove the function is_apbt_capable() that is not used anywhere.

This was partially found by using a static code analysis program
called 'cppcheck'.
Signed-off-by: NRickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Reviewed-by: NJiang Liu <jiang.liu@linux.intel.com>
Cc: Christoph Lameter <cl@linux.com>
Cc: Tejun Heo <tj@kernel.org>
Link: http://lkml.kernel.org/r/1419166698-2470-1-git-send-email-rickard_strandqvist@spectrumdigital.seSigned-off-by: NIngo Molnar <mingo@kernel.org>
上级 97bf6af1
...@@ -135,14 +135,6 @@ static inline void apbt_clear_mapping(void) ...@@ -135,14 +135,6 @@ static inline void apbt_clear_mapping(void)
apbt_virt_address = NULL; apbt_virt_address = NULL;
} }
/*
* APBT timer interrupt enable / disable
*/
static inline int is_apbt_capable(void)
{
return apbt_virt_address ? 1 : 0;
}
static int __init apbt_clockevent_register(void) static int __init apbt_clockevent_register(void)
{ {
struct sfi_timer_table_entry *mtmr; struct sfi_timer_table_entry *mtmr;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册