diff options
author | Rickard Strandqvist <rickard_strandqvist@spectrumdigital.se> | 2014-12-21 07:58:18 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2014-12-23 04:43:35 -0500 |
commit | 2b261f9f7bd9333e62140ca7e02a2f4ffec5e44f (patch) | |
tree | d58e407b8e7ad647e3cc7a16d4a555c5476eba28 | |
parent | 97bf6af1f928216fd6c5a66e8a57bfa95a659672 (diff) |
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: 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>
-rw-r--r-- | arch/x86/kernel/apb_timer.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/x86/kernel/apb_timer.c b/arch/x86/kernel/apb_timer.c index b708738d016e..6a7c23ff21d3 100644 --- a/arch/x86/kernel/apb_timer.c +++ b/arch/x86/kernel/apb_timer.c | |||
@@ -135,14 +135,6 @@ static inline void apbt_clear_mapping(void) | |||
135 | apbt_virt_address = NULL; | 135 | apbt_virt_address = NULL; |
136 | } | 136 | } |
137 | 137 | ||
138 | /* | ||
139 | * APBT timer interrupt enable / disable | ||
140 | */ | ||
141 | static inline int is_apbt_capable(void) | ||
142 | { | ||
143 | return apbt_virt_address ? 1 : 0; | ||
144 | } | ||
145 | |||
146 | static int __init apbt_clockevent_register(void) | 138 | static int __init apbt_clockevent_register(void) |
147 | { | 139 | { |
148 | struct sfi_timer_table_entry *mtmr; | 140 | struct sfi_timer_table_entry *mtmr; |