]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
x86/platform: Remove unused function from apb_timer.c
authorRickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Sun, 21 Dec 2014 12:58:18 +0000 (13:58 +0100)
committerIngo Molnar <mingo@kernel.org>
Tue, 23 Dec 2014 09:43:35 +0000 (10:43 +0100)
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: Rickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Reviewed-by: Jiang 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.se
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/kernel/apb_timer.c

index b708738d016e09f44e15040333741382caaffd34..6a7c23ff21d3de8ccc906b41bceec57caaea414e 100644 (file)
@@ -135,14 +135,6 @@ static inline void apbt_clear_mapping(void)
        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)
 {
        struct sfi_timer_table_entry *mtmr;